Enable the caching template loader for the file based templates, as
recommended by the Django documentation - Legacy-Id: 6926
This commit is contained in:
parent
e324f5551e
commit
1cb6e701eb
|
@ -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 = (
|
||||
|
|
Loading…
Reference in a new issue