aboutsummaryrefslogtreecommitdiffstats
path: root/debug_toolbar/panels/timer.py
diff options
context:
space:
mode:
authorRob Hudson2008-09-06 14:25:13 -0700
committerRob Hudson2008-09-06 14:25:13 -0700
commite62b774a7e2fef4549cacbba9b5c91dd8f150c50 (patch)
tree65f29062126a19a30010e687defa43815d0c6309 /debug_toolbar/panels/timer.py
parent336a5bb25b8b3b1c628f48e032eee1386557492f (diff)
downloaddjango-debug-toolbar-e62b774a7e2fef4549cacbba9b5c91dd8f150c50.tar.bz2
Updating panels to include more info without action required
Diffstat (limited to 'debug_toolbar/panels/timer.py')
-rw-r--r--debug_toolbar/panels/timer.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/debug_toolbar/panels/timer.py b/debug_toolbar/panels/timer.py
index c2f6364..594cfc9 100644
--- a/debug_toolbar/panels/timer.py
+++ b/debug_toolbar/panels/timer.py
@@ -9,10 +9,10 @@ class TimerDebugPanel(DebugPanel):
self._start_time = time.time()
def title(self):
- return 'Timer'
+ return 'Time: %0.2fms' % ((time.time() - self._start_time) * 1000)
def url(self):
return ''
def content(self):
- return "%0.2f ms" % ((time.time() - self._start_time) * 1000)
+ return ''