default to non-debug mode.
Some checks failed
Gitea build & Test. / tests (push) Failing after 3s

This commit is contained in:
WGAVermeer
2026-03-11 09:22:58 +01:00
parent fe6c0df123
commit 01ea42b64a

View File

@@ -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(",")