v0.85 π¨π’ (2024-07-29)
BREAKING CHANGES
Autodiscovery module resolution changed. Following undocumented behavior was removed:
Previously, autodiscovery also imported any
[app]/components.pyfiles, and usedSETTINGS_MODULEto search for component dirs.To migrate from:
[app]/components.py- Define each module inCOMPONENTS.librariessetting, or import each module inside theAppConfig.ready()hook in respectiveapps.pyfiles.SETTINGS_MODULE- Define component dirs usingSTATICFILES_DIRS
Previously, autodiscovery handled relative files in
STATICFILES_DIRS. To align with Django,STATICFILES_DIRSnow must be full paths (Django docs).