From bb59637d8f6799c5485955546a17c0b514929959 Mon Sep 17 00:00:00 2001 From: Jonathan Cremin Date: Sun, 18 Jan 2015 01:59:24 +0000 Subject: [PATCH] Push DEBUG to the env --- minie/settings.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/minie/settings.py b/minie/settings.py index 92df666..34f22d2 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 = True -TEMPLATE_DEBUG = True +DEBUG = os.environ['DEBUG'] +TEMPLATE_DEBUG = os.environ['DEBUG'] SECRET_KEY = os.environ['SECRET_KEY']