diff options
author | Jelle van der Waa <jelle@vdwaa.nl> | 2016-10-19 22:23:10 +0200 |
---|---|---|
committer | Jelle van der Waa <jelle@vdwaa.nl> | 2017-05-02 21:13:56 +0200 |
commit | 7ce890eb18a8d7e17c4eacc760e2cc1ce4608a70 (patch) | |
tree | 0eac210340ca966f240e2d7a3da3f9d76879797a | |
parent | 2971c0e576054fbd92d45f6ca00aca3e6a13e894 (diff) | |
download | archweb-7ce890eb18a8d7e17c4eacc760e2cc1ce4608a70.tar.gz archweb-7ce890eb18a8d7e17c4eacc760e2cc1ce4608a70.zip |
Dump debug loader for now
-rw-r--r-- | settings.py | 9 |
1 files changed, 1 insertions, 8 deletions
diff --git a/settings.py b/settings.py index 47962d95..7f28ec5c 100644 --- a/settings.py +++ b/settings.py @@ -69,7 +69,7 @@ TEMPLATES = [ 'django.core.context_processors.debug', 'django.contrib.messages.context_processors.messages', 'main.context_processors.secure', - ] + ], } } ] @@ -201,13 +201,6 @@ try: except ImportError: pass -# Enable caching templates in production environments -if not TEMPLATE_DEBUG: - TEMPLATE_LOADERS = ( - ('django.template.loaders.cached.Loader', TEMPLATE_LOADERS), - ) - JINJA2_BYTECODE_CACHE_ENABLE = True - # Enable the debug toolbar if requested if DEBUG_TOOLBAR: MIDDLEWARE_CLASSES = \ |