aboutsummaryrefslogtreecommitdiffstats
path: root/debug_toolbar/panels/timer.py
diff options
context:
space:
mode:
authorRob Hudson2008-09-07 01:07:26 -0700
committerRob Hudson2008-09-07 01:07:26 -0700
commit1d3d243aaff7a6dd107b1aebf29f20f74e0fce22 (patch)
treefd823657149eeee257bad4641859331ed1b38a2a /debug_toolbar/panels/timer.py
parentcc8eaee3095cf44652db472dfa81b5d9528142b8 (diff)
downloaddjango-debug-toolbar-1d3d243aaff7a6dd107b1aebf29f20f74e0fce22.tar.bz2
adding a name attribute to base panel since we are likely to put more stuff in titles
Diffstat (limited to 'debug_toolbar/panels/timer.py')
-rw-r--r--debug_toolbar/panels/timer.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/debug_toolbar/panels/timer.py b/debug_toolbar/panels/timer.py
index 594cfc9..0a5bc83 100644
--- a/debug_toolbar/panels/timer.py
+++ b/debug_toolbar/panels/timer.py
@@ -5,6 +5,8 @@ class TimerDebugPanel(DebugPanel):
"""
Panel that displays the time a response took.
"""
+ name = 'Timer'
+
def __init__(self):
self._start_time = time.time()