aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorVladislav Poluhin2013-04-23 16:04:20 +0800
committerVladislav Poluhin2013-04-23 16:04:20 +0800
commite85dfe8ef37d6d99ee482fbd9ac3375ee86253ac (patch)
tree5cda1f549442ffd3f95558b4bf75f7edd0ef8295
parent918519f8540cca98fee96eec0f3e2f9afb2e3073 (diff)
downloaddjango-debug-toolbar-e85dfe8ef37d6d99ee482fbd9ac3375ee86253ac.tar.bz2
Render form insted hidden_fields
-rw-r--r--debug_toolbar/templates/debug_toolbar/panels/sql.html4
1 files changed, 1 insertions, 3 deletions
diff --git a/debug_toolbar/templates/debug_toolbar/panels/sql.html b/debug_toolbar/templates/debug_toolbar/panels/sql.html
index 087b50e..36201fc 100644
--- a/debug_toolbar/templates/debug_toolbar/panels/sql.html
+++ b/debug_toolbar/templates/debug_toolbar/panels/sql.html
@@ -45,9 +45,7 @@
{% if query.params %}
{% if query.is_select %}
<form method="post">
- {% for field in query.form.hidden_fields %}
- {{ field }}
- {% endfor %}
+ {{ query.form }}
<button formaction="/__debug__/sql_select/" class="remoteCall">Sel</button>
<button formaction="/__debug__/sql_explain/" class="remoteCall">Expl</button>