Commit 98b52ae2 authored by Florian Apolloner's avatar Florian Apolloner
Browse files

Cleared global templatetags module cache.

TOOOOO MUCH GLOBAL STATE (you didn't see that).
parent 20d487c2
Loading
Loading
Loading
Loading
+3 −0
Original line number Diff line number Diff line
@@ -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)