From 5d95439e23dfb171eac1c6b351ad8665fec5adc5 Mon Sep 17 00:00:00 2001 From: Jonathan Cremin Date: Sun, 18 Jan 2015 12:41:53 +0000 Subject: [PATCH] Properly set DEBUG from env --- minie/settings.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/minie/settings.py b/minie/settings.py index 34f22d2..d56dd45 100644 --- a/minie/settings.py +++ b/minie/settings.py @@ -14,8 +14,8 @@ import os BASE_DIR = os.path.dirname(os.path.dirname(__file__)) # SECURITY WARNING: don't run with debug turned on in production! -DEBUG = os.environ['DEBUG'] -TEMPLATE_DEBUG = os.environ['DEBUG'] +DEBUG = os.environ['DEBUG'] == 'True' +TEMPLATE_DEBUG = os.environ['DEBUG'] == 'True' SECRET_KEY = os.environ['SECRET_KEY']