Skip to content

New feature Django 5.2 auto import models issueΒ #1479

@matejsp

Description

@matejsp

Describe the bug
When running latest Django shell we are getting

./manage.py shell -v 2

56 objects could not be automatically imported:

  models.HistoricalCreditOverdraftLimit
  models.HistoricalCreditLoan
  models.HistoricalCreditAccount
  models.HistoricalTransferRequestApproval
  models.HistoricalTransferRequest
...

To Reproduce
Steps to reproduce the behavior:

  1. upgrade Django to 5.2
  2. run manage.py shell -v 2

Expected behavior
Historical models should not be imported into current Django shell.

Screenshots
If applicable, add screenshots to help explain your problem.

Environment (please complete the following information):

  • OS: MacOSX, Amazon Linux 2023
  • Django Simple History Version: 3.5.0
  • Django Version: 5.2
  • Database Version: Mysql 8.0.33

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions