aboutsummaryrefslogtreecommitdiffstats
path: root/debug_toolbar/panels/sql.py
diff options
context:
space:
mode:
authorIdan Gazit2009-08-12 04:39:59 +0300
committerIdan Gazit2009-08-12 04:39:59 +0300
commit2e5e136e00f964c10247c78da88e2b11e1f5a7dd (patch)
tree6a2314df7255b5a72009fc91132ef10cf53dbb0a /debug_toolbar/panels/sql.py
parentc67c719047645381011f02c56daaa152efbf796c (diff)
downloaddjango-debug-toolbar-2e5e136e00f964c10247c78da88e2b11e1f5a7dd.tar.bz2
renamed title/subtitle -> nav_title/nav_subtitle
Diffstat (limited to 'debug_toolbar/panels/sql.py')
-rw-r--r--debug_toolbar/panels/sql.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/debug_toolbar/panels/sql.py b/debug_toolbar/panels/sql.py
index d1d1ead..2e70c77 100644
--- a/debug_toolbar/panels/sql.py
+++ b/debug_toolbar/panels/sql.py
@@ -73,10 +73,10 @@ class SQLDebugPanel(DebugPanel):
self._offset = len(connection.queries)
self._sql_time = 0
- def title(self):
+ def nav_title(self):
return 'SQL'
- def subtitle(self):
+ def nav_subtitle(self):
self._sql_time = sum(map(lambda q: float(q['time']), connection.queries))
num_queries = len(connection.queries) - self._offset
return "%d %s in %.2fms" % (