diff options
| author | Idan Gazit | 2009-09-09 01:45:59 +0300 |
|---|---|---|
| committer | Idan Gazit | 2009-09-09 01:45:59 +0300 |
| commit | 36b36b587c410a1ad74f1ed98de0eedeb6cfda1e (patch) | |
| tree | 4bca06e26a5d633e1491a9e065af9a7c900238cd /debug_toolbar/views.py | |
| parent | 80d72869a9a950b1598aec71b8534fcc58d54a3c (diff) | |
| parent | 20ee57b927751fd0d492c428b82f64bebdb0e860 (diff) | |
| download | django-debug-toolbar-36b36b587c410a1ad74f1ed98de0eedeb6cfda1e.tar.bz2 | |
Merge commit 'upstream/ui-rf'
Diffstat (limited to 'debug_toolbar/views.py')
| -rw-r--r-- | debug_toolbar/views.py | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/debug_toolbar/views.py b/debug_toolbar/views.py index 3a8cb79..5a412af 100644 --- a/debug_toolbar/views.py +++ b/debug_toolbar/views.py @@ -154,6 +154,7 @@ def template_source(request): source = highlight(source, HtmlDjangoLexer(), HtmlFormatter()) source = mark_safe(source) + source.pygmentized = True except ImportError: pass |
