diff --git a/jdav_web/jdav_web/settings.py b/jdav_web/jdav_web/settings.py index 8a3e72b..e4ef85f 100644 --- a/jdav_web/jdav_web/settings.py +++ b/jdav_web/jdav_web/settings.py @@ -26,7 +26,7 @@ SECRET_KEY = os.environ.get('DJANGO_SECRET_KEY', '6_ew6l1r9_4(8=p8quv(e8b+z+k+*wm7&zxx%mcnnec99a!lpw') # SECURITY WARNING: don't run with debug turned on in production! -DEBUG = True +DEBUG = os.environ.get('DJANGO_DEBUG', '1') == '1' ALLOWED_HOSTS = os.environ.get('DJANGO_ALLOWED_HOST', '').split(",")