RemovedInDjango41Warning due to default_app_config
danfoster opened this issue · 2 comments
danfoster commented
Describe the bug
When starting a django application using this application on django 3.2, it generates this warning:
../usr/local/lib/python3.9/site-packages/django/apps/registry.py:91
/usr/local/lib/python3.9/site-packages/django/apps/registry.py:91: RemovedInDjango41Warning: 'rest_framework_api_key' defines default_app_config = 'rest_framework_api_key.apps.RestFrameworkApiKeyConfig'. Django now detects this configuration automatically. You can remove default_app_config.
app_config = AppConfig.create(entry)
Desktop (please complete the following information):
- OS: Linux
- Version: 2.0.0
- Python Version: 3.9.2
- Django Version: 3.2
- DRF Version: 3.12.4
Additional context
See this for how the django_extensions handled this: https://github.com/django-extensions/django-extensions/pull/1654/files
syth0le commented
is there any news?
florimondmanca commented