settings: Fix new-style template LOADERS syntax.

This commit is contained in:
Tim Abbott
2016-05-07 19:35:13 -07:00
parent 4c7b4fcea1
commit 73b3f7a26e

View File

@@ -241,7 +241,7 @@ LOADERS = [
]
if PRODUCTION:
# Template caching is a significant performance win in production.
LOADERS = ['django.template.loaders.cached.Loader'] + LOADERS
LOADERS = [('django.template.loaders.cached.Loader', LOADERS)]
TEMPLATES = [
{