Django settings | Django documentation | Django
docs.djangoproject.com › en › 4DJANGO_SETTINGS_MODULE¶ When you use Django, you have to tell it which settings you’re using. Do this by using an environment variable, DJANGO_SETTINGS_MODULE. The value of DJANGO_SETTINGS_MODULE should be in Python path syntax, e.g. mysite.settings. Note that the settings module should be on the Python import search path.