From 01ea42b64ad6409be561243b380db3c409691aae Mon Sep 17 00:00:00 2001 From: WGAVermeer <90707235+WGAVermeer@users.noreply.github.com> Date: Wed, 11 Mar 2026 09:22:58 +0100 Subject: [PATCH] default to non-debug mode. --- 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 a3c6b5c..0264fb5 100644 --- a/src/website/settings.py +++ b/src/website/settings.py @@ -24,7 +24,7 @@ BASE_DIR = Path(__file__).resolve().parent.parent SECRET_KEY = os.environ["DJANGO_SECRET_KEY"] # SECURITY WARNING: don't run with debug turned on in production! -DEBUG = bool(os.getenv("DEBUG")) +DEBUG = bool(os.getenv("DEBUG", False)) ALLOWED_HOSTS = os.getenv("ALLOWED_HOSTS").split(",")