From d29f055713636c5629ddb7f48805536d39e550cb Mon Sep 17 00:00:00 2001 From: David Cramer Date: Thu, 24 Mar 2011 16:13:15 -0700 Subject: Add multi db support and summaries to SQL panel --- .../templates/debug_toolbar/panels/sql.html | 56 +++++++++++++--------- 1 file changed, 34 insertions(+), 22 deletions(-) (limited to 'debug_toolbar/templates') diff --git a/debug_toolbar/templates/debug_toolbar/panels/sql.html b/debug_toolbar/templates/debug_toolbar/panels/sql.html index 8309c06..4d3392f 100644 --- a/debug_toolbar/templates/debug_toolbar/panels/sql.html +++ b/debug_toolbar/templates/debug_toolbar/panels/sql.html @@ -1,35 +1,36 @@ {% load i18n %} +
+ +
+ - - - - + + + + {% for query in queries %} - -
{% trans "Action" %}{% trans 'Query' %}{% trans 'Timeline' %}{% trans 'Time (ms)' %}{% trans 'Query' %}{% trans 'Timeline' %}{% trans 'Time (ms)' %}{% trans "Action" %}
- {% if query.params %} - {% if query.is_select %} - S - E - {% if is_mysql %} - P - {% endif %} - {% endif %} - {% endif %} - {% if query.stacktrace %} - T - {% endif %} + + + +
{{ query.sql|safe }}
{% if query.stacktrace %} -