aboutsummaryrefslogtreecommitdiffstats
path: root/debug_toolbar/templates
diff options
context:
space:
mode:
authorAymeric Augustin2014-04-03 19:34:36 +0200
committerAymeric Augustin2014-04-03 19:35:55 +0200
commitc6a67bbed0c9853a9f9d67c6f55f4a06f9af45b7 (patch)
tree20366afc92b3fa1397119f32af46fe947e92a704 /debug_toolbar/templates
parent69d70bfd585403b5490479c1a41b1ddcb7af850f (diff)
downloaddjango-debug-toolbar-c6a67bbed0c9853a9f9d67c6f55f4a06f9af45b7.tar.bz2
Fix #571 -- Improve database engine detection.
Diffstat (limited to 'debug_toolbar/templates')
-rw-r--r--debug_toolbar/templates/debug_toolbar/panels/sql.html2
1 files changed, 1 insertions, 1 deletions
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 @@
<button formaction="{% url 'djdt:sql_select' %}" class="remoteCall">Sel</button>
<button formaction="{% url 'djdt:sql_explain' %}" class="remoteCall">Expl</button>
- {% if query.engine == 'mysql' or query.engine == 'MySQLdb' %}
+ {% if query.vendor == 'mysql' %}
<button formaction="{% url 'djdt:sql_profile' %}" class="remoteCall">Prof</button>
{% endif %}
</form>