From 87a087873998fbf637daf66518916feab98d84d3 Mon Sep 17 00:00:00 2001 From: Trevor Bramwell Date: Fri, 9 Feb 2018 11:08:55 -0800 Subject: Pull DEBUG Var From Environment This is explictily set in settings.py and can't be changed without modifying the file. Change-Id: If2f06e25857e15405470254731f17765619f369a Signed-off-by: Trevor Bramwell --- dashboard/src/pharos_dashboard/settings.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'dashboard') diff --git a/dashboard/src/pharos_dashboard/settings.py b/dashboard/src/pharos_dashboard/settings.py index 240f68e..fa5879f 100644 --- a/dashboard/src/pharos_dashboard/settings.py +++ b/dashboard/src/pharos_dashboard/settings.py @@ -5,7 +5,7 @@ from datetime import timedelta BASE_DIR = os.path.dirname(os.path.dirname(os.path.abspath(__file__))) # SECURITY WARNING: don't run with debug turned on in production! -DEBUG = True +DEBUG = os.environ['DEBUG'] # Application definition -- cgit 1.2.3-korg