diff options
| author | Rob Hudson | 2009-08-11 09:45:18 -0700 | 
|---|---|---|
| committer | Rob Hudson | 2009-08-11 09:45:18 -0700 | 
| commit | 565b100f9d97214043ae93c51d276951a65331e8 (patch) | |
| tree | 985e152cd6b10aef47ae64a63f4206d0249c8ca5 /debug_toolbar/panels/__init__.py | |
| parent | b5ccbcdfa1b4cc71aec7c289d455298bc5cd1bfb (diff) | |
| download | django-debug-toolbar-565b100f9d97214043ae93c51d276951a65331e8.tar.bz2 | |
Refactored the UI to be a right hand side vertical toolbar. DebugPanel subclass grew a subtitle method to display informative text under the title.
Diffstat (limited to 'debug_toolbar/panels/__init__.py')
| -rw-r--r-- | debug_toolbar/panels/__init__.py | 5 | 
1 files changed, 5 insertions, 0 deletions
| diff --git a/debug_toolbar/panels/__init__.py b/debug_toolbar/panels/__init__.py index 54b3318..459e550 100644 --- a/debug_toolbar/panels/__init__.py +++ b/debug_toolbar/panels/__init__.py @@ -15,8 +15,13 @@ class DebugPanel(object):          return 'djDebug%sPanel' % (self.name.replace(' ', ''))      def title(self): +        """Title showing in toolbar"""          raise NotImplementedError +    def subtitle(self): +        """Subtitle showing until title in toolbar""" +        return '' +      def url(self):          raise NotImplementedError | 
