From fe6c0df12351a6ba73289891c142ab567a1757f7 Mon Sep 17 00:00:00 2001 From: WGAVermeer <90707235+WGAVermeer@users.noreply.github.com> Date: Wed, 11 Mar 2026 09:21:36 +0100 Subject: [PATCH] Updated settings to import secret key. --- src/website/settings.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/website/settings.py b/src/website/settings.py index 2bdcd39..a3c6b5c 100644 --- a/src/website/settings.py +++ b/src/website/settings.py @@ -21,7 +21,7 @@ BASE_DIR = Path(__file__).resolve().parent.parent # 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-c$q7wdq+u@ow74wp!&zzkxdylkueu)(+34e%!e0du&bjwoqz9z" +SECRET_KEY = os.environ["DJANGO_SECRET_KEY"] # SECURITY WARNING: don't run with debug turned on in production! DEBUG = bool(os.getenv("DEBUG"))