aboutsummaryrefslogtreecommitdiffstats
path: root/debug_toolbar/panels/timer.py
diff options
context:
space:
mode:
authorRob Hudson2008-09-07 10:56:54 -0700
committerRob Hudson2008-09-07 10:56:54 -0700
commit6a1e15b3c9f5658a26b77121af126a84258f8b0d (patch)
tree5bea374e05acfcffc21e7a856d3cbd03ec838a87 /debug_toolbar/panels/timer.py
parent608d7fbddc708e840458a2ca956f8f7991406eff (diff)
downloaddjango-debug-toolbar-6a1e15b3c9f5658a26b77121af126a84258f8b0d.tar.bz2
updating to pass around the request object
Diffstat (limited to 'debug_toolbar/panels/timer.py')
-rw-r--r--debug_toolbar/panels/timer.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/debug_toolbar/panels/timer.py b/debug_toolbar/panels/timer.py
index 0a5bc83..d520191 100644
--- a/debug_toolbar/panels/timer.py
+++ b/debug_toolbar/panels/timer.py
@@ -7,7 +7,8 @@ class TimerDebugPanel(DebugPanel):
"""
name = 'Timer'
- def __init__(self):
+ def __init__(self, request):
+ super(TimerDebugPanel, self).__init__(request)
self._start_time = time.time()
def title(self):