Skip to content

Commit 6085423

Browse files
committed
chore(settings): add more debug settings
1 parent e057c8a commit 6085423

1 file changed

Lines changed: 8 additions & 1 deletion

File tree

rootfs/deis/settings.py

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,10 +11,17 @@
1111

1212
PROJECT_ROOT = os.path.normpath(os.path.join(os.path.dirname(__file__), '..'))
1313

14+
# A boolean that turns on/off debug mode.
15+
# https://docs.djangoproject.com/en/1.9/ref/settings/#debug
1416
DEBUG = False
1517

18+
# If set to True, Django's normal exception handling of view functions
19+
# will be suppressed, and exceptions will propagate upwards
20+
# https://docs.djangoproject.com/en/1.9/ref/settings/#debug-propagate-exceptions
21+
DEBUG_PROPAGATE_EXCEPTIONS = False
22+
1623
# Silence two security messages around SSL as router takes care of them
17-
# https://docs.djangoproject.com/es/1.9/ref/checks/#security
24+
# https://docs.djangoproject.com/en/1.9/ref/checks/#security
1825
SILENCED_SYSTEM_CHECKS = [
1926
'security.W004',
2027
'security.W008'

0 commit comments

Comments
 (0)