Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Cleared global templatetags module cache.

TOOOOO MUCH GLOBAL STATE (you didn't see that).
  • Loading branch information...
commit 98b52ae201f17b3fb702403ce676c7d324f3bfbc 1 parent 20d487c
@apollo13 apollo13 authored
Showing with 3 additions and 0 deletions.
  1. +3 −0  django/test/signals.py
View
3  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)
Please sign in to comment.
Something went wrong with that request. Please try again.