Skip to content

Conversation

samiashi
Copy link

@samiashi samiashi commented May 22, 2025

  • Drop support for Python 3.7 and 3.8
  • Drop support for Django < 4.2
  • Add support for Python 3.9, 3.11, 3.12 and 3.13
  • Add support for Django 5.0, 5.1 and 5.2

This PR also fixes a bug when using Django Admin Shell with dynamic models (models created at runtime), you might encounter the following error:

AttributeError: module 'your_app.models' has no attribute 'your_dynamic_model_name'

This happens because Django Admin Shell attempts to import all models registered with Django's app registry, but dynamic models might not be directly accessible as attributes of their declared module.

@samiashi samiashi force-pushed the samielachi/upgrade-repo branch 3 times, most recently from 2cd4c24 to cbb911e Compare May 22, 2025 13:27
@samiashi samiashi force-pushed the samielachi/upgrade-repo branch from cbb911e to 821330e Compare June 2, 2025 14:31
@samiashi samiashi force-pushed the samielachi/upgrade-repo branch from 821330e to eb03b9e Compare June 2, 2025 14:40
@samiashi samiashi force-pushed the samielachi/upgrade-repo branch from eb03b9e to d3cc210 Compare June 2, 2025 14:44
@djk2
Copy link
Owner

djk2 commented Aug 3, 2025

Hi. Sorry for very very long time without any response.
I will review this PR in this week.
Looks very nice. Thank You

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants