diff options
| author | Rob Hudson | 2008-09-07 01:07:26 -0700 |
|---|---|---|
| committer | Rob Hudson | 2008-09-07 01:07:26 -0700 |
| commit | 1d3d243aaff7a6dd107b1aebf29f20f74e0fce22 (patch) | |
| tree | fd823657149eeee257bad4641859331ed1b38a2a /debug_toolbar/panels/sql.py | |
| parent | cc8eaee3095cf44652db472dfa81b5d9528142b8 (diff) | |
| download | django-debug-toolbar-1d3d243aaff7a6dd107b1aebf29f20f74e0fce22.tar.bz2 | |
adding a name attribute to base panel since we are likely to put more stuff in titles
Diffstat (limited to 'debug_toolbar/panels/sql.py')
| -rw-r--r-- | debug_toolbar/panels/sql.py | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/debug_toolbar/panels/sql.py b/debug_toolbar/panels/sql.py index c1c9f1a..2cc981b 100644 --- a/debug_toolbar/panels/sql.py +++ b/debug_toolbar/panels/sql.py @@ -6,6 +6,8 @@ class SQLDebugPanel(DebugPanel): """ Panel that displays information about the SQL queries run while processing the request. """ + name = 'SQL' + def title(self): return '%d SQL Queries' % (len(connection.queries)) |
