From f5f29e4577fc34cb4e7b44232f36ad6e2a1b0eb9 Mon Sep 17 00:00:00 2001 From: Chris Lamb Date: Fri, 22 Jan 2010 06:53:03 -0800 Subject: Updated to not display EXPLAIN/PROFILE links for non-SELECT queries. Signed-off-by: Rob Hudson --- debug_toolbar/templates/debug_toolbar/panels/sql.html | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'debug_toolbar') diff --git a/debug_toolbar/templates/debug_toolbar/panels/sql.html b/debug_toolbar/templates/debug_toolbar/panels/sql.html index c606d27..9ed87ca 100644 --- a/debug_toolbar/templates/debug_toolbar/panels/sql.html +++ b/debug_toolbar/templates/debug_toolbar/panels/sql.html @@ -16,10 +16,10 @@ {% if query.params %} {% if query.is_select %} SELECT
- {% endif %} - EXPLAIN
- {% if is_mysql %} - PROFILE
+ EXPLAIN
+ {% if is_mysql %} + PROFILE
+ {% endif %} {% endif %} {% endif %} -- cgit v1.2.3