Mercurial > public > bravenewsurf
changeset 92:4dca838ae291
For production, use the cached template loader.
author | Brian Neal <bgneal@gmail.com> |
---|---|
date | Tue, 29 Nov 2011 18:27:31 -0600 |
parents | 4f4e371a723c |
children | c9955ef6707f |
files | bns_website/settings/production.py |
diffstat | 1 files changed, 7 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- a/bns_website/settings/production.py Mon Nov 28 18:56:18 2011 -0600 +++ b/bns_website/settings/production.py Tue Nov 29 18:27:31 2011 -0600 @@ -14,6 +14,13 @@ }, } +TEMPLATE_LOADERS = [ + ('django.template.loaders.cached.Loader', ( + 'django.template.loaders.filesystem.Loader', + 'django.template.loaders.app_directories.Loader', + )), +] + CACHES = { 'default': { 'BACKEND': 'django.core.cache.backends.memcached.MemcachedCache',