django-csp-reports icon indicating copy to clipboard operation
django-csp-reports copied to clipboard

Warning with default_app_config

Open niconil opened this issue 2 years ago • 0 comments

when launching unit test in my Django project (Django 3.2)

coverage run $(which pytest)

i get the following warning

RemovedInDjango41Warning: 'cspreports' defines default_app_config = 'cspreports.apps.CSPReportsConfig'. Django now detects this configuration automatically. You can remove default_app_config.

(declared in cspreports/init.py) nevertheless when i run other command with manage.py (manage.py runserver, manage.py makemigrations, ...) i don't have this warning

niconil avatar May 10 '22 09:05 niconil