From c6a67bbed0c9853a9f9d67c6f55f4a06f9af45b7 Mon Sep 17 00:00:00 2001
From: Aymeric Augustin
Date: Thu, 3 Apr 2014 19:34:36 +0200
Subject: Fix #571 -- Improve database engine detection.
---
debug_toolbar/templates/debug_toolbar/panels/sql.html | 2 +-
1 file changed, 1 insertion(+), 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 4d95a80..7dab547 100644
--- a/debug_toolbar/templates/debug_toolbar/panels/sql.html
+++ b/debug_toolbar/templates/debug_toolbar/panels/sql.html
@@ -49,7 +49,7 @@
- {% if query.engine == 'mysql' or query.engine == 'MySQLdb' %}
+ {% if query.vendor == 'mysql' %}
{% endif %}
--
cgit v1.2.3