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
Current behavior (bug description)
After upgrading Django to 5.0 I got following warning:
$ python.exe manage.py runserver 127.0.0.1:8000
<...>\django\db\backends\utils.py:98: RuntimeWarning: Accessing the database during app initialization is discouraged. To fix this warning, avoid executing queries in AppConfig.ready() or when your app modules are imported.
warnings.warn(self.APPS_NOT_READY_WARNING_MSG, category=RuntimeWarning)
This warning occurs from EXTRA_SETTINGS_DEFAULTS in settings.py:
Python version
3.11
Django version
5.0
Package version
0.11.0
Current behavior (bug description)
After upgrading Django to 5.0 I got following warning:
This warning occurs from
EXTRA_SETTINGS_DEFAULTS
insettings.py
:If I just comment it, warning dissapear.
It is a new behavior in Django 5.0. More information can be found here, for example.
Upvote & Fund
The text was updated successfully, but these errors were encountered: