From 2e46da6d9298f469996df06b27b96a4142121d53 Mon Sep 17 00:00:00 2001 From: Raul Novelo Date: Fri, 1 Jan 2021 12:29:32 -0600 Subject: [PATCH] Django debug --- aaaimxadmin/settings.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/aaaimxadmin/settings.py b/aaaimxadmin/settings.py index 1749986..e82d69a 100644 --- a/aaaimxadmin/settings.py +++ b/aaaimxadmin/settings.py @@ -29,7 +29,7 @@ SECRET_KEY = os.environ.get("SECRET_KEY", None) # SECURITY WARNING: don't run with debug turned on in production! -DEBUG = os.environ.get("DEBUG", 1) +DEBUG = bool(os.environ.get("DEBUG", 0)) ALLOWED_HOSTS = ["*"]