aboutsummaryrefslogtreecommitdiffstats
path: root/debug_toolbar/panels/__init__.py
diff options
context:
space:
mode:
authorRob Hudson2008-09-07 01:07:26 -0700
committerRob Hudson2008-09-07 01:07:26 -0700
commit1d3d243aaff7a6dd107b1aebf29f20f74e0fce22 (patch)
treefd823657149eeee257bad4641859331ed1b38a2a /debug_toolbar/panels/__init__.py
parentcc8eaee3095cf44652db472dfa81b5d9528142b8 (diff)
downloaddjango-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/__init__.py')
-rw-r--r--debug_toolbar/panels/__init__.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/debug_toolbar/panels/__init__.py b/debug_toolbar/panels/__init__.py
index 419601d..5f53fb5 100644
--- a/debug_toolbar/panels/__init__.py
+++ b/debug_toolbar/panels/__init__.py
@@ -5,7 +5,7 @@ class DebugPanel(object):
Base class for debug panels.
"""
def dom_id(self):
- return 'djDebug%sPanel' % (self.title().replace(' ', ''))
+ return 'djDebug%sPanel' % (self.name.replace(' ', ''))
def title(self):
raise NotImplementedError