Reset the template loader cache when reloading extensions.

Review Request #4166 — Created May 25, 2013 and submitted

Information

Djblets
master

Reviewers

Reset the template loader cache when reloading extensions.

When using Django's template loader cache, it's possible to end up with
stale templates after replacing an extension. We now clear the cache
when enabling/disabling an extension, or when we see that another thread
has done so.
Unit tests run.

Enabled and disabled extensions and saw that we were clearing the cache.
reviewbot
  1. This is a review from Review Bot.
      Tool: PEP8 Style Checker
      Processed Files:
        djblets/extensions/base.py
      Ignored Files:
    
    
  2. 
      
david
  1. Ship It!
  2. 
      
chipx86
Review request changed

Status: Closed (submitted)

Change Summary:

Pushed to master (7e8c870)
Loading...