aboutsummaryrefslogtreecommitdiffstats
path: root/debug_toolbar/panels/cache.py
diff options
context:
space:
mode:
authorMatt George2008-09-29 12:30:37 -0500
committerMatt George2008-09-29 12:30:37 -0500
commit4734384cecd18ee6497730dc997aa34040975d13 (patch)
treeadbbe87fbc1f441e83ea068f19a5128fffd98f09 /debug_toolbar/panels/cache.py
parent2a32669822bddb31f687fcf6ca45f5d82d691e8d (diff)
parentce8c68b79c2de4abde01b29b1c73754ce4deb981 (diff)
downloaddjango-debug-toolbar-4734384cecd18ee6497730dc997aa34040975d13.tar.bz2
Merge branch 'master' of git://github.com/robhudson/django-debug-toolbar
Conflicts: debug_toolbar/templates/debug_toolbar/base.html
Diffstat (limited to 'debug_toolbar/panels/cache.py')
-rw-r--r--debug_toolbar/panels/cache.py3
1 files changed, 1 insertions, 2 deletions
diff --git a/debug_toolbar/panels/cache.py b/debug_toolbar/panels/cache.py
index 263b62b..613d4d9 100644
--- a/debug_toolbar/panels/cache.py
+++ b/debug_toolbar/panels/cache.py
@@ -78,7 +78,7 @@ class CacheDebugPanel(DebugPanel):
name = 'Cache'
has_content = True
- def __init__(self, request):
+ def __init__(self):
# This is hackish but to prevent threading issues is somewhat needed
if isinstance(cache.cache, CacheStatTracker):
cache.cache.reset()
@@ -86,7 +86,6 @@ class CacheDebugPanel(DebugPanel):
else:
self.cache = CacheStatTracker(cache.cache)
cache.cache = self.cache
- super(CacheDebugPanel, self).__init__(request)
def title(self):
return 'Cache: %.2fms' % self.cache.total_time