mirror of
https://github.com/django/django.git
synced 2025-10-30 00:56:09 +00:00
Cleared global templatetags module cache.
TOOOOO MUCH GLOBAL STATE (you didn't see that).
This commit is contained in:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user