diff --git a/django-site/campus_resource/settings.py b/django-site/campus_resource/settings.py index 9031ec9..1f308c4 100644 --- a/django-site/campus_resource/settings.py +++ b/django-site/campus_resource/settings.py @@ -20,7 +20,8 @@ # See https://docs.djangoproject.com/en/6.0/howto/deployment/checklist/ # SECURITY WARNING: keep the secret key used in production secret! -SECRET_KEY = 'django-insecure-#$w=3#0n89fx!2dlum-hhead3h7wsh6#6apse+0d!*x7!y=40_' +import os +SECRET_KEY = os.environ["SECRET_KEY"] # SECURITY WARNING: don't run with debug turned on in production! DEBUG = True