RepoJournal
Django

@django

Python's batteries-included web framework

Pick a date

The Wire · Showcase

DJANGO FIXES MODULE LOADING AND MIGRATION TRACKING IN MAJOR UTILITY OVERHAUL

By RepoJournal · Filed · About Django

lboeman hannylicious varunkasyap sarahboyce
4 people shipped this

Django's import_string utility now handles full module paths and submodules, closing a long-standing gap in the framework's import capabilities.

The headline fix [1] [2] upgrades import_string to load modules directly without requiring prior import state, a capability that was broken or incomplete before. This matters because developers have been working around this limitation for years. In parallel, Django's migration system gained critical functionality [3]: unmanaged models now get the same migration tracking as managed models, meaning your external database tables finally appear in your schema history. The admin interface saw test fixes [4] to properly validate SelectBox heights after Flexbox updates to the UI, ensuring selenium tests reflect actual behavior instead of brittle assumptions. On the infrastructure side [5], Django bumped its GitHub Actions dependencies to resolve Node.js 20 deprecation warnings, upgrading to upload-artifact@v7 to stay current with GitHub's runtime requirements.

Action items

References

  1. [1] Fixed #36864 -- Added support for module and submodule loading in import_string. ↗ django/django
  2. [2] Fixed #36864 -- Supported modules and submodules in import_string(). django/django
  3. [3] Fixed #35813 -- Made migrations track all changes to unmanaged models. ↗ django/django
  4. [4] Fixed #37180 -- Fixed admin SelectBox height tests to verify available/chosen box heights. ↗ django/django
  5. [5] Bumped versions in Github actions configuration. ↗ django/django

More from @django

Daily updates, in your inbox

Follow Django

Python's batteries-included web framework We'll email you a link to confirm first.

Free. Confirm via email. Unsubscribe in one click.

— or follow the whole beat:

Elsewhere on the wire