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.py3
1 files changed, 3 insertions, 0 deletions
diff --git a/debug_toolbar/panels/cache.py b/debug_toolbar/panels/cache.py
index 585521c..e25f08b 100644
--- a/debug_toolbar/panels/cache.py
+++ b/debug_toolbar/panels/cache.py
@@ -58,6 +58,9 @@ class CacheStatTracker(BaseCache):
def __init__(self, cache):
self.cache = cache
+ def __repr__(self):
+ return u"<CacheStatTracker for %s>" % self.cache.__repr__()
+
def _get_func_info(self):
frame = sys._getframe(3)
info = inspect.getframeinfo(frame)