Cleared global templatetags module cache.
TOOOOO MUCH GLOBAL STATE (you didn't see that).
This commit is contained in:
parent
20d487c27b
commit
98b52ae201
|
@ -36,6 +36,9 @@ def update_installed_apps(**kwargs):
|
||||||
# Rebuild app_template_dirs cache.
|
# Rebuild app_template_dirs cache.
|
||||||
from django.template.loaders import app_directories as mod
|
from django.template.loaders import app_directories as mod
|
||||||
mod.app_template_dirs = mod.calculate_app_template_dirs()
|
mod.app_template_dirs = mod.calculate_app_template_dirs()
|
||||||
|
# Rebuild templatetags module cache.
|
||||||
|
from django.template import base
|
||||||
|
base.templatetags_modules[:] = []
|
||||||
|
|
||||||
|
|
||||||
@receiver(setting_changed)
|
@receiver(setting_changed)
|
||||||
|
|
Loading…
Reference in New Issue