Skip to content

Commit 8bb9772

Browse files
authored
Merge pull request #810 from helgi/better_debug
feat(debug): DEIS_DEBUG now affects Django DEBUG as well
2 parents bbcf4aa + 6e136e2 commit 8bb9772

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

rootfs/api/settings/production.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77

88
# A boolean that turns on/off debug mode.
99
# https://docs.djangoproject.com/en/1.9/ref/settings/#debug
10-
DEBUG = False
10+
DEBUG = bool(os.environ.get('DEIS_DEBUG', False))
1111

1212
# If set to True, Django's normal exception handling of view functions
1313
# will be suppressed, and exceptions will propagate upwards

0 commit comments

Comments
 (0)