Template caching settings has been inverted for some reason

This commit is contained in:
Raphael Michel
2015-05-21 23:06:29 +02:00
parent c16ad60129
commit 2d83049181

View File

@@ -134,7 +134,7 @@ template_loaders = (
'django.template.loaders.filesystem.Loader',
'django.template.loaders.app_directories.Loader',
)
if DEBUG:
if not DEBUG:
template_loaders = (
('django.template.loaders.cached.Loader', template_loaders),
)