From 7bd2ab6e5e76ce3193ac86f104c4ec35914de4f7 Mon Sep 17 00:00:00 2001 From: Sergey Karpuk Date: Sat, 23 Jul 2022 11:37:07 +0300 Subject: [PATCH] fix(settings): remove default value with debug key --- djaif/settings.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/djaif/settings.py b/djaif/settings.py index 1d7290b..2133a59 100644 --- a/djaif/settings.py +++ b/djaif/settings.py @@ -14,7 +14,7 @@ DJANGO_SETTINGS_MODULE = 'djaif.settings' SECRET_KEY = os.getenv('SECRET_KEY') -DEBUG = os.getenv('DEBUG', 'False') +DEBUG = bool(os.getenv('DEBUG')) SUPERUSER = os.getenv('SUPERUSER', 'admin') PASSWORD = os.getenv('PASSWORD', 'admin')