aboutsummaryrefslogtreecommitdiffstats
path: root/debug_toolbar/templates
diff options
context:
space:
mode:
authorAymeric Augustin2013-11-16 21:54:11 +0100
committerAymeric Augustin2013-11-16 21:57:38 +0100
commitf2382e747fa344d3ba13eda2cf60def6fc0df480 (patch)
tree009e01308fbcc3e4dcbd00fa5ff1df3d1b1ccc87 /debug_toolbar/templates
parent7c97a98bd1c8f3a90e308df7f96361844c492e69 (diff)
downloaddjango-debug-toolbar-f2382e747fa344d3ba13eda2cf60def6fc0df480.tar.bz2
Better solution than ca24b3f.
Diffstat (limited to 'debug_toolbar/templates')
-rw-r--r--debug_toolbar/templates/debug_toolbar/panels/sql.html5
1 files changed, 2 insertions, 3 deletions
diff --git a/debug_toolbar/templates/debug_toolbar/panels/sql.html b/debug_toolbar/templates/debug_toolbar/panels/sql.html
index d454d61..33c496c 100644
--- a/debug_toolbar/templates/debug_toolbar/panels/sql.html
+++ b/debug_toolbar/templates/debug_toolbar/panels/sql.html
@@ -1,5 +1,4 @@
-{% load i18n %}{% load url from future %}
-{% load debug_toolbar_utils %}
+{% load i18n l10n %}{% load url from future %}
<div class="clearfix">
<ul class="stats">
{% for alias, info in databases %}
@@ -35,7 +34,7 @@
</div>
</td>
<td class="timeline">
- <div class="djDebugTimeline"><div class="djDebugLineChart{% if query.is_slow %} djDebugLineChartWarning{% endif %}" style="left:{{ query.start_offset|dotted_number }}%;"><strong style="width:{{ query.width_ratio_relative|dotted_number }}%;">{{ query.width_ratio }}%</strong></div></div>
+ <div class="djDebugTimeline"><div class="djDebugLineChart{% if query.is_slow %} djDebugLineChartWarning{% endif %}" style="left:{{ query.start_offset|unlocalize }}%;"><strong style="width:{{ query.width_ratio_relative|unlocalize }}%;">{{ query.width_ratio }}%</strong></div></div>
</td>
<td class="time">
{{ query.duration|floatformat:"2" }}