From 7d3d9d27cff3418e30731b7d6f1087adbd43ff9d Mon Sep 17 00:00:00 2001 From: Yohan Boniface Date: Sat, 19 Apr 2014 20:26:41 +0200 Subject: [PATCH] Use template cache_loader --- umap/settings/base.py | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/umap/settings/base.py b/umap/settings/base.py index 6347003b..d99ed112 100644 --- a/umap/settings/base.py +++ b/umap/settings/base.py @@ -127,6 +127,10 @@ TEMPLATE_CONTEXT_PROCESSORS += ( 'social.apps.django_app.context_processors.login_redirect', ) +TEMPLATE_LOADERS = ( + ('django.template.loaders.cached.Loader', TEMPLATE_LOADERS), +) + #============================================================================== # Middleware #==============================================================================