diff options
| author | Yann Malet | 2011-09-10 01:24:32 +0200 | 
|---|---|---|
| committer | Yann Malet | 2011-09-10 01:24:32 +0200 | 
| commit | a08238af1ec07e077a0ee0f816d82c62c3f0ac63 (patch) | |
| tree | b07b38321d91df424538a0c5a632c93e6df0f9c7 /debug_toolbar/panels/cache.py | |
| parent | 970e084055c1210ff6251965bc87ad1b0d72ea0e (diff) | |
| download | django-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.py | 1 | 
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() | 
