# HG changeset patch # User Brian Neal # Date 1322612851 21600 # Node ID 4dca838ae291e8b1a193b3e36a8c6d4e208bc9d2 # Parent 4f4e371a723c95645f1c266eeb18db9d5f1ed3de For production, use the cached template loader. diff -r 4f4e371a723c -r 4dca838ae291 bns_website/settings/production.py --- 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',