diff options
| author | Rob Hudson | 2008-09-06 14:24:31 -0700 |
|---|---|---|
| committer | Rob Hudson | 2008-09-06 14:24:31 -0700 |
| commit | 336a5bb25b8b3b1c628f48e032eee1386557492f (patch) | |
| tree | 29260638c2eb4dfa210819960008f8697cf926c1 /debug_toolbar | |
| parent | abc3351bcfd3b2d1aa9c317bc592f96092226ceb (diff) | |
| download | django-debug-toolbar-336a5bb25b8b3b1c628f48e032eee1386557492f.tar.bz2 | |
The last commit missed an added method to the Panel base class
Diffstat (limited to 'debug_toolbar')
| -rw-r--r-- | debug_toolbar/panels/__init__.py | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/debug_toolbar/panels/__init__.py b/debug_toolbar/panels/__init__.py index 2454c56..419601d 100644 --- a/debug_toolbar/panels/__init__.py +++ b/debug_toolbar/panels/__init__.py @@ -4,6 +4,9 @@ class DebugPanel(object): """ Base class for debug panels. """ + def dom_id(self): + return 'djDebug%sPanel' % (self.title().replace(' ', '')) + def title(self): raise NotImplementedError |
