Cleared global templatetags module cache.

TOOOOO MUCH GLOBAL STATE (you didn't see that).
This commit is contained in:
Florian Apolloner 2013-12-29 19:17:25 +01:00
parent 20d487c27b
commit 98b52ae201
1 changed files with 3 additions and 0 deletions

View File

@ -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)