aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRob Hudson2009-09-25 06:19:38 -0700
committerRob Hudson2009-09-25 06:19:38 -0700
commit97c1240a8fbeb6ed374b94a0bc630bca8a7e1d6b (patch)
treedd0a9b63206c7bf15b52163b0c4f7087a7601d6a
parent6fe43e4e806b20dad3c31f4e353e5ced9b7310a2 (diff)
downloaddjango-debug-toolbar-97c1240a8fbeb6ed374b94a0bc630bca8a7e1d6b.tar.bz2
Fixed template panel bug that caused the context to not display correctly.
-rw-r--r--debug_toolbar/panels/template.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/debug_toolbar/panels/template.py b/debug_toolbar/panels/template.py
index f090c78..34a1897 100644
--- a/debug_toolbar/panels/template.py
+++ b/debug_toolbar/panels/template.py
@@ -83,7 +83,7 @@ class TemplateDebugPanel(DebugPanel):
d_list = []
for _d in c.dicts:
try:
- d_list.append(pformat(d))
+ d_list.append(pformat(_d))
except UnicodeEncodeError:
pass
info['context'] = '\n'.join(d_list)