aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--debug_toolbar/templates/debug_toolbar/panels/sql.html8
1 files changed, 4 insertions, 4 deletions
diff --git a/debug_toolbar/templates/debug_toolbar/panels/sql.html b/debug_toolbar/templates/debug_toolbar/panels/sql.html
index 1896e3c..d08f93e 100644
--- a/debug_toolbar/templates/debug_toolbar/panels/sql.html
+++ b/debug_toolbar/templates/debug_toolbar/panels/sql.html
@@ -31,11 +31,11 @@
<th>Method</th>
<th>File</th>
</tr>
- {% for s in query.stacktrace %}
+ {% for file, line, method in query.stacktrace %}
<tr>
- <td>{{ s.1 }}</td>
- <td><pre>{{ s.2|escape }}<pre></td>
- <td><pre>{{ s.0|escape }}</pre></td>
+ <td>{{ line }}</td>
+ <td><pre>{{ method|escape }}<pre></td>
+ <td><pre>{{ file|escape }}</pre></td>
</tr>
{% endfor %}
</table>