aboutsummaryrefslogtreecommitdiffstats
path: root/debug_toolbar/panels/__init__.py
blob: 419601de79543dd59f844c983cdbc10ab5d576cb (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
"""Base DebugPanel class"""

class DebugPanel(object):
    """
    Base class for debug panels.
    """
    def dom_id(self):
        return 'djDebug%sPanel' % (self.title().replace(' ', ''))

    def title(self):
        raise NotImplementedError

    def url(self):
        raise NotImplementedError

    def content(self):
        raise NotImplementedError