diff options
| author | Rob Hudson | 2008-09-07 10:06:55 -0700 |
|---|---|---|
| committer | Rob Hudson | 2008-09-07 10:06:55 -0700 |
| commit | 9855a9dac9cad37fb1b36d23e794b91513789680 (patch) | |
| tree | 5ea62a0c07184dc27f9daf2f84cbcabf7246e902 /debug_toolbar | |
| parent | 1d3d243aaff7a6dd107b1aebf29f20f74e0fce22 (diff) | |
| download | django-debug-toolbar-9855a9dac9cad37fb1b36d23e794b91513789680.tar.bz2 | |
adding a comment to note that panel subclasses should declare a name
Diffstat (limited to 'debug_toolbar')
| -rw-r--r-- | debug_toolbar/panels/__init__.py | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/debug_toolbar/panels/__init__.py b/debug_toolbar/panels/__init__.py index 5f53fb5..4dfa354 100644 --- a/debug_toolbar/panels/__init__.py +++ b/debug_toolbar/panels/__init__.py @@ -4,6 +4,8 @@ class DebugPanel(object): """ Base class for debug panels. """ + # name = Base + def dom_id(self): return 'djDebug%sPanel' % (self.name.replace(' ', '')) |
