mirror of
https://github.com/pretix/pretix.git
synced 2026-05-10 16:04:02 +00:00
Template caching settings has been inverted for some reason
This commit is contained in:
@@ -134,7 +134,7 @@ template_loaders = (
|
|||||||
'django.template.loaders.filesystem.Loader',
|
'django.template.loaders.filesystem.Loader',
|
||||||
'django.template.loaders.app_directories.Loader',
|
'django.template.loaders.app_directories.Loader',
|
||||||
)
|
)
|
||||||
if DEBUG:
|
if not DEBUG:
|
||||||
template_loaders = (
|
template_loaders = (
|
||||||
('django.template.loaders.cached.Loader', template_loaders),
|
('django.template.loaders.cached.Loader', template_loaders),
|
||||||
)
|
)
|
||||||
|
|||||||
Reference in New Issue
Block a user