From 64794a5a1d342ffeceae9ddaa55c81384d54702f Mon Sep 17 00:00:00 2001 From: Rob Hudson Date: Tue, 9 Dec 2008 12:44:07 -0800 Subject: Only show the SQL profile if we're using a MySQL database backend. --- debug_toolbar/templates/debug_toolbar/panels/sql.html | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (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 f6ff64f..7de2220 100644 --- a/debug_toolbar/templates/debug_toolbar/panels/sql.html +++ b/debug_toolbar/templates/debug_toolbar/panels/sql.html @@ -15,7 +15,9 @@ {% if query.params %} SELECT EXPLAIN - PROFILE + {% if is_mysql %} + PROFILE + {% endif %} {% endif %}