diff options
| author | Rob Hudson | 2009-09-25 06:19:38 -0700 |
|---|---|---|
| committer | Rob Hudson | 2009-09-25 06:19:38 -0700 |
| commit | 97c1240a8fbeb6ed374b94a0bc630bca8a7e1d6b (patch) | |
| tree | dd0a9b63206c7bf15b52163b0c4f7087a7601d6a | |
| parent | 6fe43e4e806b20dad3c31f4e353e5ced9b7310a2 (diff) | |
| download | django-debug-toolbar-97c1240a8fbeb6ed374b94a0bc630bca8a7e1d6b.tar.bz2 | |
Fixed template panel bug that caused the context to not display correctly.
| -rw-r--r-- | debug_toolbar/panels/template.py | 2 |
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) |
