aboutsummaryrefslogtreecommitdiffstats
path: root/debug_toolbar/panels/cache.py
diff options
context:
space:
mode:
authorYann Malet2011-09-10 01:24:32 +0200
committerYann Malet2011-09-10 01:24:32 +0200
commita08238af1ec07e077a0ee0f816d82c62c3f0ac63 (patch)
treeb07b38321d91df424538a0c5a632c93e6df0f9c7 /debug_toolbar/panels/cache.py
parent970e084055c1210ff6251965bc87ad1b0d72ea0e (diff)
downloaddjango-debug-toolbar-a08238af1ec07e077a0ee0f816d82c62c3f0ac63.tar.bz2
Revert some of the previous changes and modify slightly the panels to separate the gneration of the stats and the generation of the content.
Diffstat (limited to 'debug_toolbar/panels/cache.py')
-rw-r--r--debug_toolbar/panels/cache.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/debug_toolbar/panels/cache.py b/debug_toolbar/panels/cache.py
index c03971d..4cc783e 100644
--- a/debug_toolbar/panels/cache.py
+++ b/debug_toolbar/panels/cache.py
@@ -102,6 +102,7 @@ class CacheDebugPanel(DebugPanel):
'cache': self.cache,
}
request.debug_toolbar.stats['cache'] = self.stats
+ return response
def content(self):
context = self.context.copy()