summaryrefslogtreecommitdiffstats
path: root/settings.py
diff options
context:
space:
mode:
authorJelle van der Waa <jelle@vdwaa.nl>2016-10-19 22:23:10 +0200
committerJelle van der Waa <jelle@vdwaa.nl>2017-05-02 21:13:56 +0200
commit7ce890eb18a8d7e17c4eacc760e2cc1ce4608a70 (patch)
tree0eac210340ca966f240e2d7a3da3f9d76879797a /settings.py
parent2971c0e576054fbd92d45f6ca00aca3e6a13e894 (diff)
downloadarchweb-7ce890eb18a8d7e17c4eacc760e2cc1ce4608a70.tar.gz
archweb-7ce890eb18a8d7e17c4eacc760e2cc1ce4608a70.zip
Dump debug loader for now
Diffstat (limited to 'settings.py')
-rw-r--r--settings.py9
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 = \