Skip to content

Commit 6f159bd

Browse files
authored
Merge pull request #2845 from kobotoolbox/2843-change-default-to-debug-is-false
Change default debug status to false
2 parents d45b9a3 + ece9c2e commit 6f159bd

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

kobo/settings/base.py

+2-2
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@
5454
SESSION_COOKIE_AGE = 604800
5555

5656
# SECURITY WARNING: don't run with debug turned on in production!
57-
DEBUG = (os.environ.get('DJANGO_DEBUG', 'True') == 'True')
57+
DEBUG = (os.environ.get('DJANGO_DEBUG', 'False') == 'True')
5858

5959
ALLOWED_HOSTS = os.environ.get('DJANGO_ALLOWED_HOSTS', '*').split(' ')
6060

@@ -344,7 +344,7 @@ def __init__(self, *args, **kwargs):
344344
'kpi.context_processors.sitewide_messages',
345345
'kpi.context_processors.config',
346346
],
347-
'debug': os.environ.get('TEMPLATE_DEBUG', 'True') == 'True',
347+
'debug': os.environ.get('TEMPLATE_DEBUG', 'False') == 'True',
348348
},
349349
},
350350
]

0 commit comments

Comments
 (0)