summaryrefslogtreecommitdiffstats
path: root/dashboard
diff options
context:
space:
mode:
authorTrevor Bramwell <tbramwell@linuxfoundation.org>2018-02-09 11:08:55 -0800
committerTrevor Bramwell <tbramwell@linuxfoundation.org>2018-02-09 11:08:55 -0800
commit87a087873998fbf637daf66518916feab98d84d3 (patch)
treeda78cd3ba49dbae3975a38e7bcb843b526a9956d /dashboard
parent1fd014d20886727b3c8eb1861afb58b91c2dfa74 (diff)
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 <tbramwell@linuxfoundation.org>
Diffstat (limited to 'dashboard')
-rw-r--r--dashboard/src/pharos_dashboard/settings.py2
1 files changed, 1 insertions, 1 deletions
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