Push DEBUG to the env
This commit is contained in:
parent
edd3b8032b
commit
bb59637d8f
1 changed files with 2 additions and 2 deletions
|
@ -14,8 +14,8 @@ import os
|
||||||
BASE_DIR = os.path.dirname(os.path.dirname(__file__))
|
BASE_DIR = os.path.dirname(os.path.dirname(__file__))
|
||||||
|
|
||||||
# SECURITY WARNING: don't run with debug turned on in production!
|
# SECURITY WARNING: don't run with debug turned on in production!
|
||||||
DEBUG = True
|
DEBUG = os.environ['DEBUG']
|
||||||
TEMPLATE_DEBUG = True
|
TEMPLATE_DEBUG = os.environ['DEBUG']
|
||||||
|
|
||||||
SECRET_KEY = os.environ['SECRET_KEY']
|
SECRET_KEY = os.environ['SECRET_KEY']
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue