diff options
author | Jelle van der Waa <jelle@vdwaa.nl> | 2017-02-13 22:06:14 +0100 |
---|---|---|
committer | Jelle van der Waa <jelle@vdwaa.nl> | 2017-05-02 21:13:56 +0200 |
commit | c4dd0ead1557ff249b57c06c082516104e62062e (patch) | |
tree | fa4dfaf12caa01012c5463e6680af7476c9bdbc2 | |
parent | b4b625284ffedb5028fa63ca0a259bdabb852732 (diff) | |
download | archweb-c4dd0ead1557ff249b57c06c082516104e62062e.tar.gz archweb-c4dd0ead1557ff249b57c06c082516104e62062e.zip |
Remove deprecated TEMPLATE_DEBUG
-rw-r--r-- | local_settings.py.example | 1 | ||||
-rw-r--r-- | settings.py | 2 |
2 files changed, 1 insertions, 2 deletions
diff --git a/local_settings.py.example b/local_settings.py.example index ffd6d8a6..d5c20063 100644 --- a/local_settings.py.example +++ b/local_settings.py.example @@ -1,6 +1,5 @@ ## Debug settings DEBUG = False -TEMPLATE_DEBUG = False #DEBUG_TOOLBAR = True ## For django debug toolbar diff --git a/settings.py b/settings.py index 7f28ec5c..2d36d063 100644 --- a/settings.py +++ b/settings.py @@ -3,7 +3,6 @@ import os ## Set the debug values DEBUG = False -TEMPLATE_DEBUG = DEBUG DEBUG_TOOLBAR = False ## Notification admins @@ -64,6 +63,7 @@ TEMPLATES = [ ], 'APP_DIRS': True, 'OPTIONS': { + 'debug': DEBUG, 'context_processors': [ 'django.contrib.auth.context_processors.auth', 'django.core.context_processors.debug', |