File tree 4 files changed +4
-3
lines changed
debug_toolbar/templates/debug_toolbar/panels
4 files changed +4
-3
lines changed Original file line number Diff line number Diff line change 1
1
{% load i18n %}{% load static %}
2
2
< form method ="get " action ="{% url 'djdt:history_refresh' %} ">
3
- {{ refresh_form }}
3
+ {{ refresh_form.as_div }}
4
4
< button class ="refreshHistory "> Refresh</ button >
5
5
</ form >
6
6
< table class ="djdt-max-height-100 ">
Original file line number Diff line number Diff line change 43
43
</ td >
44
44
< td class ="djdt-actions ">
45
45
< form method ="get " action ="{% url 'djdt:history_sidebar' %} ">
46
- {{ store_context.form }}
46
+ {{ store_context.form.as_div }}
47
47
< button data-store-id ="{{ id }} " class ="switchHistory "> Switch</ button >
48
48
</ form >
49
49
</ td >
Original file line number Diff line number Diff line change 77
77
{% if query.params %}
78
78
{% if query.is_select %}
79
79
< form method ="post ">
80
- {{ query.form }}
80
+ {{ query.form.as_div }}
81
81
< button formaction ="{% url 'djdt:sql_select' %} " class ="remoteCall "> Sel</ button >
82
82
< button formaction ="{% url 'djdt:sql_explain' %} " class ="remoteCall "> Expl</ button >
83
83
{% if query.vendor == 'mysql' %}
Original file line number Diff line number Diff line change 9
9
workaround for ``INTERNAL_IPS ``.
10
10
* Display a better error message when the toolbar's requests
11
11
return invalid json.
12
+ * Render forms with ``as_div `` to silence Django 5.0 deprecation warnings.
12
13
13
14
4.3.0 (2024-02-01)
14
15
------------------
You can’t perform that action at this time.
0 commit comments