diff --git a/settings.py b/settings.py index 5f76eef67962af611fb3ec466a82cb5a89549dd9..f592a6faa2a2cd371e82ca3c9b8a9aca3860b625 100644 --- a/settings.py +++ b/settings.py @@ -8,7 +8,7 @@ def get_from_env(var, default): else: return default -DEBUG = True +DEBUG = (get_from_env('DEBUG', '1') == '1') TEMPLATE_DEBUG = DEBUG ADMINS = (