We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents bbcf4aa + 6e136e2 commit 8bb9772Copy full SHA for 8bb9772
1 file changed
rootfs/api/settings/production.py
@@ -7,7 +7,7 @@
7
8
# A boolean that turns on/off debug mode.
9
# https://docs.djangoproject.com/en/1.9/ref/settings/#debug
10
-DEBUG = False
+DEBUG = bool(os.environ.get('DEIS_DEBUG', False))
11
12
# If set to True, Django's normal exception handling of view functions
13
# will be suppressed, and exceptions will propagate upwards
0 commit comments