Correct name for SECRET_KEY env

This commit is contained in:
Andreas Zweili 2022-12-12 10:07:29 +01:00
parent 7c874f6ae8
commit 0a669d7e88
1 changed files with 1 additions and 1 deletions

View File

@ -15,7 +15,7 @@ ALLOWED_HOSTS = [
]
# SECURITY WARNING: keep the secret key used in production secret!
SECRET_KEY = os.getenv("SECRET_KEY")
SECRET_KEY = os.getenv("DJANGO_SECRET_KEY")
# SECURITY WARNING: don't run with debug turned on in production!
DEBUG = False