From c590c7e1f825e2610f25e5512794aeb24fdf0cd5 Mon Sep 17 00:00:00 2001 From: Jannis Leidel Date: Sun, 13 May 2012 12:01:05 +0200 Subject: Added a repr for the cache wrapper. --- debug_toolbar/panels/cache.py | 3 +++ 1 file changed, 3 insertions(+) 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"" % self.cache.__repr__() + def _get_func_info(self): frame = sys._getframe(3) info = inspect.getframeinfo(frame) -- cgit v1.2.3