diff options
| author | Rob Hudson | 2008-09-11 21:49:49 -0700 |
|---|---|---|
| committer | Rob Hudson | 2008-09-11 21:50:57 -0700 |
| commit | 414368b6ec0ed856752dce752afad140a03c97f6 (patch) | |
| tree | 5098288cf9c9ed7f4466f160c5ea3dcfa8a1a8bd | |
| parent | ca99f4688fc70fb74bb2510a0aaaf4914a2c7aa9 (diff) | |
| download | django-debug-toolbar-414368b6ec0ed856752dce752afad140a03c97f6.tar.bz2 | |
Patch submitted by Ned Batchelder to fix panel path slashes on Windows.
| -rw-r--r-- | debug_toolbar/templates/debug_toolbar/panels/templates.html | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/debug_toolbar/templates/debug_toolbar/panels/templates.html b/debug_toolbar/templates/debug_toolbar/panels/templates.html index 58904be..f9f03b5 100644 --- a/debug_toolbar/templates/debug_toolbar/panels/templates.html +++ b/debug_toolbar/templates/debug_toolbar/panels/templates.html @@ -12,8 +12,8 @@ {% if templates %} <dl> {% for template in templates %} - <dt><strong>{{ template.0 }}</strong></dt> - <dd><samp>{{ template.1 }}</samp></dd> + <dt><strong>{{ template.0|addslashes }}</strong></dt> + <dd><samp>{{ template.1|addslashes }}</samp></dd> {% endfor %} </dl> {% else %} |
