You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: debug_toolbar/templates/debug_toolbar/panels/sql.html
+12-13Lines changed: 12 additions & 13 deletions
Original file line number
Diff line number
Diff line change
@@ -1,21 +1,20 @@
1
1
{% load i18n l10n %}
2
2
<divclass="djdt-clearfix">
3
-
<ulclass="djdt-stats">
3
+
<ul>
4
4
{% for alias, info in databases %}
5
5
<li>
6
-
<strongclass="djdt-label"><spanstyle="background-color:rgb({{ info.rgb_color|join:', ' }})" class="djdt-color"> </span> {{ alias }}</strong>
7
-
<spanclass="djdt-info">{{ info.time_spent|floatformat:"2" }} ms ({% blocktrans count info.num_queries as num %}{{ num }} query{% plural %}{{ num }} queries{% endblocktrans %}
8
-
{% if info.similar_count %}
9
-
{% blocktrans with count=info.similar_count trimmed %}
10
-
including <abbrtitle="Similar queries are queries with the same SQL, but potentially different parameters.">{{ count }} similar</abbr>
6
+
<strong><spanstyle="background-color:rgb({{ info.rgb_color|join:', ' }})" class="djdt-color"> </span> {{ alias }}</strong>
7
+
{{ info.time_spent|floatformat:"2" }} ms ({% blocktrans count info.num_queries as num %}{{ num }} query{% plural %}{{ num }} queries{% endblocktrans %}
8
+
{% if info.similar_count %}
9
+
{% blocktrans with count=info.similar_count trimmed %}
10
+
including <abbrtitle="Similar queries are queries with the same SQL, but potentially different parameters.">{{ count }} similar</abbr>
11
+
{% endblocktrans %}
12
+
{% if info.duplicate_count %}
13
+
{% blocktrans with dupes=info.duplicate_count trimmed %}
14
+
and <abbrtitle="Duplicate queries are identical to each other: they execute exactly the same SQL and parameters.">{{ dupes }} duplicates</abbr>
11
15
{% endblocktrans %}
12
-
{% if info.duplicate_count %}
13
-
{% blocktrans with dupes=info.duplicate_count trimmed %}
14
-
and <abbrtitle="Duplicate queries are identical to each other: they execute exactly the same SQL and parameters.">{{ dupes }} duplicates</abbr>
0 commit comments