This commit is contained in:
Iacopo Spalletti 2017-01-06 16:45:52 +01:00 committed by GitHub
parent 1999784b2f
commit 7d2013f62b

View file

@ -38,7 +38,7 @@ class CMSMultiSiteMiddleware(object):
# urlconf. # urlconf.
set_urlconf(urlconf) set_urlconf(urlconf)
try: try:
# In django CMS 3.4.2 this allows us to sae a few queries thanks to per-site appresolvers caching # In django CMS 3.4.2 this allows us to save a few queries thanks to per-site appresolvers caching
reload_urlconf(clear_cache=False) reload_urlconf(clear_cache=False)
except TypeError: except TypeError:
reload_urlconf() reload_urlconf()