aboutsummaryrefslogtreecommitdiffstats
path: root/debug_toolbar/panels/__init__.py
diff options
context:
space:
mode:
Diffstat (limited to 'debug_toolbar/panels/__init__.py')
-rw-r--r--debug_toolbar/panels/__init__.py5
1 files changed, 5 insertions, 0 deletions
diff --git a/debug_toolbar/panels/__init__.py b/debug_toolbar/panels/__init__.py
index 4dfa354..c4a9f48 100644
--- a/debug_toolbar/panels/__init__.py
+++ b/debug_toolbar/panels/__init__.py
@@ -6,6 +6,9 @@ class DebugPanel(object):
"""
# name = Base
+ def __init__(self, request):
+ self.request = request
+
def dom_id(self):
return 'djDebug%sPanel' % (self.name.replace(' ', ''))
@@ -16,4 +19,6 @@ class DebugPanel(object):
raise NotImplementedError
def content(self):
+ # TODO: This is a bit flaky in that panel.content() returns a string
+ # that gets inserted into the toolbar HTML template.
raise NotImplementedError