From c40c316bcf93f502118b0cd3090a0d07b427fa6f Mon Sep 17 00:00:00 2001 From: Linden Crandall Date: Thu, 17 Aug 2023 14:00:32 +0900 Subject: [PATCH] added debug env var to settings --- backend/main_project/settings.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/backend/main_project/settings.py b/backend/main_project/settings.py index 04af57f..d230949 100644 --- a/backend/main_project/settings.py +++ b/backend/main_project/settings.py @@ -11,7 +11,7 @@ environ.Env.read_env() BASE_DIR = Path(__file__).resolve().parent.parent # set to False for production -DEBUG = True +DEBUG = env('DEV_MODE') # SECURE_SSL_REDIRECT=True # SESSION_COOKIE_SECURE=True