From e2389cc6f3dfc04b61ba7949b93e2e6f0a13a825 Mon Sep 17 00:00:00 2001 From: Bryan Gerlach Date: Sun, 15 Feb 2026 19:19:25 -0600 Subject: [PATCH] docker stuff --- rdgen/settings.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/rdgen/settings.py b/rdgen/settings.py index 003ade4..cc0fdc8 100644 --- a/rdgen/settings.py +++ b/rdgen/settings.py @@ -35,7 +35,8 @@ MEDIA_ROOT = os.path.join(BASE_DIR, 'media') # SECURITY WARNING: don't run with debug turned on in production! -DEBUG = os.environ.get("DEBUG", "False").lower() == "true" +DEBUG_ENV = os.environ.get("DEBUG", "False") +DEBUG = DEBUG_ENV.lower() in ['true', '1', 't'] ALLOWED_HOSTS = ['*'] #CSRF_TRUSTED_ORIGINS = os.getenv('CSRF_TRUSTED_ORIGINS', '').split()