summaryrefslogtreecommitdiff
path: root/docs/ref/forms
diff options
context:
space:
mode:
authorMariusz Felisiak <felisiak.mariusz@gmail.com>2023-01-13 09:32:35 +0100
committerMariusz Felisiak <felisiak.mariusz@gmail.com>2023-01-17 11:49:15 +0100
commit98756c685ee173bbd43f21ed0553f808be835ce5 (patch)
treef0d70ed7fa9348ba94d8889cf284792a880c28b2 /docs/ref/forms
parentb5ac6e78f838376b61f3f7dfccd66f906ad6d394 (diff)
Refs #32339 -- Changed default form and formset rendering style to div-based.
Per deprecation timeline. This also removes "django/forms/default.html" and "django/forms/formsets/default.html" templates.
Diffstat (limited to 'docs/ref/forms')
-rw-r--r--docs/ref/forms/renderers.txt18
1 files changed, 2 insertions, 16 deletions
diff --git a/docs/ref/forms/renderers.txt b/docs/ref/forms/renderers.txt
index 9bb19df1c1..92ec2d68df 100644
--- a/docs/ref/forms/renderers.txt
+++ b/docs/ref/forms/renderers.txt
@@ -51,27 +51,13 @@ should return a rendered templates (as a string) or raise
The default name of the template to use to render a form.
- Defaults to ``"django/forms/default.html"``, which is a proxy for
- ``"django/forms/table.html"``.
-
- .. deprecated:: 4.1
-
- The ``"django/forms/default.html"`` template is deprecated and will be
- removed in Django 5.0. The default will become
- ``"django/forms/div.html"`` at that time.
+ Defaults to ``"django/forms/div.html"`` template.
.. attribute:: formset_template_name
The default name of the template to use to render a formset.
- Defaults to ``"django/forms/formsets/default.html"``, which is a proxy
- for ``"django/forms/formsets/table.html"``.
-
- .. deprecated:: 4.1
-
- The ``"django/forms/formset/default.html"`` template is deprecated and
- will be removed in Django 5.0. The default will become
- ``"django/forms/formset/div.html"`` template.
+ Defaults to ``"django/forms/formsets/div.html"`` template.
.. method:: get_template(template_name)