aboutsummaryrefslogtreecommitdiffstats
path: root/debug_toolbar/panels/cache.py
diff options
context:
space:
mode:
Diffstat (limited to 'debug_toolbar/panels/cache.py')
-rw-r--r--debug_toolbar/panels/cache.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/debug_toolbar/panels/cache.py b/debug_toolbar/panels/cache.py
index a6b06ce..831eacb 100644
--- a/debug_toolbar/panels/cache.py
+++ b/debug_toolbar/panels/cache.py
@@ -202,7 +202,7 @@ class CacheDebugPanel(DebugPanel):
def enable_instrumentation(self):
# This isn't thread-safe because cache connections aren't thread-local
# in Django, unlike database connections.
- cache.cache = CacheStatTracker(cache.cache)
+ cache.cache = CacheStatTracker(original_cache)
cache.get_cache = get_cache
def disable_instrumentation(self):