Summary: Make sure the TEMPLATE_LOADERS dev hack produces a tuple,
otherwise the tests barf - Legacy-Id: 8989
This commit is contained in:
parent
a6ff751f20
commit
8eff2f39cf
|
@ -498,7 +498,7 @@ INSTALLED_APPS += DEV_APPS
|
|||
# publicly available, for instance from the source repository.
|
||||
if SERVER_MODE != 'production':
|
||||
# stomp out the cached template loader, it's annoying
|
||||
TEMPLATE_LOADERS = [l for e in TEMPLATE_LOADERS for l in (e[1] if isinstance(e, tuple) and "cached.Loader" in e[0] else (e,))]
|
||||
TEMPLATE_LOADERS = tuple(l for e in TEMPLATE_LOADERS for l in (e[1] if isinstance(e, tuple) and "cached.Loader" in e[0] else (e,)))
|
||||
|
||||
CACHES = {
|
||||
'default': {
|
||||
|
|
Loading…
Reference in a new issue