From 9855a9dac9cad37fb1b36d23e794b91513789680 Mon Sep 17 00:00:00 2001 From: Rob Hudson Date: Sun, 7 Sep 2008 10:06:55 -0700 Subject: adding a comment to note that panel subclasses should declare a name --- debug_toolbar/panels/__init__.py | 2 ++ 1 file changed, 2 insertions(+) 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(' ', '')) -- cgit v1.2.3