Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion debug_toolbar/templates/debug_toolbar/panels/history.html
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{% load i18n %}{% load static %}
<form method="get" action="{% url 'djdt:history_refresh' %}">
{{ refresh_form }}
{{ refresh_form.as_div }}
<button class="refreshHistory">Refresh</button>
</form>
<table class="djdt-max-height-100">
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@
</td>
<td class="djdt-actions">
<form method="get" action="{% url 'djdt:history_sidebar' %}">
{{ store_context.form }}
{{ store_context.form.as_div }}
<button data-store-id="{{ id }}" class="switchHistory">Switch</button>
</form>
</td>
Expand Down
2 changes: 1 addition & 1 deletion debug_toolbar/templates/debug_toolbar/panels/sql.html
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,7 @@
{% if query.params %}
{% if query.is_select %}
<form method="post">
{{ query.form }}
{{ query.form.as_div }}
<button formaction="{% url 'djdt:sql_select' %}" class="remoteCall">Sel</button>
<button formaction="{% url 'djdt:sql_explain' %}" class="remoteCall">Expl</button>
{% if query.vendor == 'mysql' %}
Expand Down
1 change: 1 addition & 0 deletions docs/changes.rst
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@ Pending
workaround for ``INTERNAL_IPS``.
* Display a better error message when the toolbar's requests
return invalid json.
* Render forms with ``as_div`` to silence Django 5.0 deprecation warnings.

4.3.0 (2024-02-01)
------------------
Expand Down