v0.85 ๐จ๐ข (2024-07-29)ยค
__
BREAKING CHANGESยค
-
Autodiscovery module resolution changed. Following undocumented behavior was removed:
-
Previously, autodiscovery also imported any
[app]/components.py
files, and usedSETTINGS_MODULE
to search for component dirs.To migrate from:
-
[app]/components.py
- Define each module inCOMPONENTS.libraries
setting, or import each module inside theAppConfig.ready()
hook in respectiveapps.py
files. -
SETTINGS_MODULE
- Define component dirs usingSTATICFILES_DIRS
-
-
Previously, autodiscovery handled relative files in
STATICFILES_DIRS
. To align with Django,STATICFILES_DIRS
now must be full paths (Django docs).
-