diff options
author | Trevor Bramwell <tbramwell@linuxfoundation.org> | 2018-02-09 11:08:55 -0800 |
---|---|---|
committer | Trevor Bramwell <tbramwell@linuxfoundation.org> | 2018-02-09 11:08:55 -0800 |
commit | ed04996deb732e145e908826c109844577670b8a (patch) | |
tree | e5e40bb16eca8264889eba10b7e90f864dfe99de /src/pharos_dashboard/settings.py | |
parent | 2a82d24ab1b57fe0254345997af211bc139c4629 (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 'src/pharos_dashboard/settings.py')
-rw-r--r-- | src/pharos_dashboard/settings.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/pharos_dashboard/settings.py b/src/pharos_dashboard/settings.py index 240f68e..fa5879f 100644 --- a/src/pharos_dashboard/settings.py +++ b/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 |