diff options
| author | Florian Apolloner <florian@apolloner.eu> | 2013-12-29 19:17:25 +0100 |
|---|---|---|
| committer | Florian Apolloner <florian@apolloner.eu> | 2013-12-29 19:17:25 +0100 |
| commit | 98b52ae201f17b3fb702403ce676c7d324f3bfbc (patch) | |
| tree | 5f1cc55dc4a07bc6e95a08295b9d305988d0d8ad | |
| parent | 20d487c27b40bb70496ddc7419011ca78b7d4940 (diff) | |
Cleared global templatetags module cache.
TOOOOO MUCH GLOBAL STATE (you didn't see that).
| -rw-r--r-- | django/test/signals.py | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/django/test/signals.py b/django/test/signals.py index 49bfc64292..b806592919 100644 --- a/django/test/signals.py +++ b/django/test/signals.py @@ -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) |
