1
0
mirror of https://github.com/django/django.git synced 2025-02-11 01:46:50 +00:00

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

View File

@ -36,6 +36,9 @@ def update_installed_apps(**kwargs):
# Rebuild app_template_dirs cache.
from django.template.loaders import app_directories as mod
mod.app_template_dirs = mod.calculate_app_template_dirs()
# Rebuild templatetags module cache.
from django.template import base
base.templatetags_modules[:] = []
@receiver(setting_changed)