aboutsummaryrefslogtreecommitdiffstats
path: root/debug_toolbar/templates
diff options
context:
space:
mode:
authorRob Hudson2008-09-09 14:50:14 -0700
committerRob Hudson2008-09-09 14:50:14 -0700
commit338c7a0a38996d2ffb3e192b63646a6c23dc5bba (patch)
treee1e63e64a4096ea3704cea607ac28ef7a7359393 /debug_toolbar/templates
parent76a9d548f4f09cb1c54b0bc467a9a61c6d91fd96 (diff)
downloaddjango-debug-toolbar-338c7a0a38996d2ffb3e192b63646a6c23dc5bba.tar.bz2
Making it so that the SQL panel display SQL a little more formatted and nice.
Diffstat (limited to 'debug_toolbar/templates')
-rw-r--r--debug_toolbar/templates/debug_toolbar/panels/sql.html3
1 files changed, 2 insertions, 1 deletions
diff --git a/debug_toolbar/templates/debug_toolbar/panels/sql.html b/debug_toolbar/templates/debug_toolbar/panels/sql.html
index 3d6a966..046be7f 100644
--- a/debug_toolbar/templates/debug_toolbar/panels/sql.html
+++ b/debug_toolbar/templates/debug_toolbar/panels/sql.html
@@ -1,3 +1,4 @@
+<h3>SQL Queries</h3>
<table>
<thead>
<tr>
@@ -9,7 +10,7 @@
{% for query in queries %}
<tr class="{% cycle 'row1' 'row2' %}">
<td>{{ query.time|floatformat:"4" }}</td>
- <td>{{ query.sql|escape }}</td>
+ <td><pre>{{ query.sql|escape }}</pre></td>
</tr>
{% endfor %}
</tbody>