Enable the caching template loader for the file based templates, as

recommended by the Django documentation
 - Legacy-Id: 6926
This commit is contained in:
Ole Laursen 2013-12-13 17:00:52 +00:00
parent e324f5551e
commit 1cb6e701eb

View file

@ -106,9 +106,10 @@ SESSION_COOKIE_AGE = 43200 # 12 hours
SESSION_EXPIRE_AT_BROWSER_CLOSE = True
TEMPLATE_LOADERS = (
'django.template.loaders.filesystem.Loader',
'django.template.loaders.app_directories.Loader',
'ietf.dbtemplate.template.load_template_source',
('django.template.loaders.cached.Loader',
('django.template.loaders.filesystem.Loader',
'django.template.loaders.app_directories.Loader',)),
'ietf.dbtemplate.template.Loader',
)
MIDDLEWARE_CLASSES = (