Either define the environment variable DJANGO_SETTINGS_MODULE or call settings.configure() before accessing settings

views.pyI want to test the function. An error occurs when starting the DEBUG mode.

manage.py In manage.py ш didn't change anything

Back to Top