From b5ef38bc0d11c4bea6994afef88ad91cd598c2ab Mon Sep 17 00:00:00 2001 From: Pierre Geeraert Date: Tue, 17 Mar 2026 10:26:34 +0000 Subject: [PATCH] try gemini ai idea --- django_code/django_code/settings.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/django_code/django_code/settings.py b/django_code/django_code/settings.py index c45e312..41d8fb5 100644 --- a/django_code/django_code/settings.py +++ b/django_code/django_code/settings.py @@ -23,7 +23,9 @@ BASE_DIR = Path(__file__).resolve().parent.parent SECRET_KEY = 'django-insecure-71%)_#e#o9-dl2o^6mfud-*rw+4+8vy-nd*bzeier&(34ap-p9' # SECURITY WARNING: don't run with debug turned on in production! -DEBUG = os.getenv("DEBUG") +#DEBUG = os.getenv("DEBUG") +DEBUG = os.getenv("DEBUG", "False").lower() in ("true", "1", "t") + ALLOWED_HOSTS = os.getenv("ALLOWED_HOSTS").split(",")