From 490cccbe7e83874923b276eed26cc23b0db5ebb9 Mon Sep 17 00:00:00 2001 From: Mariusz Felisiak Date: Fri, 6 Jan 2023 08:09:58 +0100 Subject: Removed versionadded/changed annotations for 4.1. --- docs/topics/forms/formsets.txt | 12 ------------ docs/topics/forms/index.txt | 9 --------- docs/topics/forms/media.txt | 7 ------- docs/topics/forms/modelforms.txt | 2 -- 4 files changed, 30 deletions(-) (limited to 'docs/topics/forms') diff --git a/docs/topics/forms/formsets.txt b/docs/topics/forms/formsets.txt index 1624c380a1..3519951952 100644 --- a/docs/topics/forms/formsets.txt +++ b/docs/topics/forms/formsets.txt @@ -317,10 +317,6 @@ And here is a custom error message:: >>> formset.non_form_errors() ['Sorry, something went wrong.'] -.. versionchanged:: 4.1 - - The ``'too_few_forms'`` and ``'too_many_forms'`` keys were added. - Custom formset validation ------------------------- @@ -804,16 +800,8 @@ Formsets have the following attributes and methods associated with rendering: then each form in the formset as per the template defined by the form's :attr:`~django.forms.Form.template_name`. - .. versionchanged:: 4.1 - - In older versions ``template_name`` defaulted to the string value - ``'django/forms/formset/default.html'``. - - .. attribute:: BaseFormSet.template_name_div - .. versionadded:: 4.1 - The name of the template used when calling :meth:`.as_div`. By default this is ``"django/forms/formsets/div.html"``. This template renders the formset's management form and then each form in the formset as per the diff --git a/docs/topics/forms/index.txt b/docs/topics/forms/index.txt index 464c6b86cb..a97acafc90 100644 --- a/docs/topics/forms/index.txt +++ b/docs/topics/forms/index.txt @@ -552,11 +552,6 @@ the :meth:`.Form.render`. Here's an example of this being used in a view:: See :ref:`ref-forms-api-outputting-html` for more details. -.. versionchanged:: 4.1 - - The ability to set the default ``form_template_name`` on the form renderer - was added. - Form rendering options ---------------------- @@ -754,15 +749,11 @@ Useful attributes on ``{{ field }}`` include: ``{{ field.legend_tag }}`` - .. versionadded:: 4.1 - Similar to ``field.label_tag`` but uses a ```` tag in place of ``