You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Since Django 3.2 it is not necessary anymore to declare a default_app_config is only a single app config is present in the apps.py.
With that declaration, Django throws deprecation warnings like so:
/venv/lib/python3.8/site-packages/django/apps/registry.py:91: RemovedInDjango41Warning: 'pattern_library' defines default_app_config = 'pattern_library.apps.PatternLibraryAppConfig'. Django now detects this configuration automatically. You can remove default_app_config.
Describe the solution you'd like
Only define default_app_config for Django versions before 3.2.
Uh oh!
There was an error while loading. Please reload this page.
Is your proposal related to a problem?
Since Django 3.2 it is not necessary anymore to declare a
default_app_config
is only a single app config is present in theapps.py
.With that declaration, Django throws deprecation warnings like so:
Describe the solution you'd like
Only define
default_app_config
for Django versions before 3.2.See also
https://docs.djangoproject.com/en/3.2/releases/3.2/#automatic-appconfig-discovery
The text was updated successfully, but these errors were encountered: