summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDan McGee <dan@archlinux.org>2014-10-18 14:05:47 -0500
committerDan McGee <dan@archlinux.org>2014-10-18 14:05:47 -0500
commit2914fc55c4618d97a3ab5a7d519545979f526677 (patch)
treec61cdfb2cfd9d188354ae81d798b064fe29e6892
parent2f19529c922172007ff3894ad0e0fca0b3e33f5b (diff)
downloadarchweb-2914fc55c4618d97a3ab5a7d519545979f526677.tar.gz
archweb-2914fc55c4618d97a3ab5a7d519545979f526677.zip
Enable Jinja2 template bytecode caching
Signed-off-by: Dan McGee <dan@archlinux.org>
-rw-r--r--settings.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/settings.py b/settings.py
index 5b2195cb..ba6c68ee 100644
--- a/settings.py
+++ b/settings.py
@@ -183,6 +183,7 @@ 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: