aboutsummaryrefslogtreecommitdiffstats
path: root/debug_toolbar/panels/cache.py
diff options
context:
space:
mode:
authorIdan Gazit2009-08-12 05:09:04 +0300
committerIdan Gazit2009-08-12 05:09:04 +0300
commit5015057cfe3448028ff79ca36a96f1baa4224226 (patch)
treea2504a71d7f0b594b267e41ce09ae827d6a0f562 /debug_toolbar/panels/cache.py
parent2e5e136e00f964c10247c78da88e2b11e1f5a7dd (diff)
downloaddjango-debug-toolbar-5015057cfe3448028ff79ca36a96f1baa4224226.tar.bz2
added in-panel title
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 f1a921b..a05d3cc 100644
--- a/debug_toolbar/panels/cache.py
+++ b/debug_toolbar/panels/cache.py
@@ -90,6 +90,9 @@ class CacheDebugPanel(DebugPanel):
def nav_title(self):
return 'Cache: %.2fms' % self.cache.total_time
+ def title(self):
+ return 'Cache Usage'
+
def url(self):
return ''