aboutsummaryrefslogtreecommitdiffstats
path: root/debug_toolbar/panels/timer.py
diff options
context:
space:
mode:
Diffstat (limited to 'debug_toolbar/panels/timer.py')
-rw-r--r--debug_toolbar/panels/timer.py4
1 files changed, 1 insertions, 3 deletions
diff --git a/debug_toolbar/panels/timer.py b/debug_toolbar/panels/timer.py
index 6df4d4d..6b36bf9 100644
--- a/debug_toolbar/panels/timer.py
+++ b/debug_toolbar/panels/timer.py
@@ -45,9 +45,7 @@ class TimerPanel(Panel):
(_('Elapsed time'), _('%(total_time)0.3f msec') % stats),
(_('Context switches'), _('%(vcsw)d voluntary, %(ivcsw)d involuntary') % stats),
)
- context = self.context.copy()
- context.update({'rows': rows})
- return render_to_string(self.template, context)
+ return render_to_string(self.template, {'rows': rows})
def process_request(self, request):
self._start_time = time.time()