From 05cce083ad662913008e107bc6332e7ffe1502e6 Mon Sep 17 00:00:00 2001 From: Natalia <124304+nessita@users.noreply.github.com> Date: Fri, 3 May 2024 14:39:43 -0300 Subject: Removed versionadded/changed annotations for 5.0. This also removes remaining versionadded/changed annotations for older versions. --- docs/ref/forms/api.txt | 12 ------------ docs/ref/forms/fields.txt | 14 -------------- docs/ref/forms/renderers.txt | 6 ------ 3 files changed, 32 deletions(-) (limited to 'docs/ref/forms') diff --git a/docs/ref/forms/api.txt b/docs/ref/forms/api.txt index 28cd452c4e..33d0806859 100644 --- a/docs/ref/forms/api.txt +++ b/docs/ref/forms/api.txt @@ -1192,10 +1192,6 @@ Attributes of ``BoundField`` When rendering a field with errors, ``aria-invalid="true"`` will be set on the field's widget to indicate there is an error to screen reader users. - .. versionchanged:: 5.0 - - The ``aria-invalid="true"`` was added when a field has errors. - .. attribute:: BoundField.field The form :class:`~django.forms.Field` instance from the form class that @@ -1289,8 +1285,6 @@ Attributes of ``BoundField`` .. attribute:: BoundField.template_name - .. versionadded:: 5.0 - The name of the template rendered with :meth:`.BoundField.as_field_group`. A property returning the value of the @@ -1323,8 +1317,6 @@ Methods of ``BoundField`` .. method:: BoundField.as_field_group() - .. versionadded:: 5.0 - Renders the field using :meth:`.BoundField.render` with default values which renders the ``BoundField``, including its label, help text and errors using the template's :attr:`~django.forms.Field.template_name` if set @@ -1372,8 +1364,6 @@ Methods of ``BoundField`` .. method:: BoundField.get_context() - .. versionadded:: 5.0 - Return the template context for rendering the field. The available context is ``field`` being the instance of the bound field. @@ -1426,8 +1416,6 @@ Methods of ``BoundField`` .. method:: BoundField.render(template_name=None, context=None, renderer=None) - .. versionadded:: 5.0 - The render method is called by ``as_field_group``. All arguments are optional and default to: diff --git a/docs/ref/forms/fields.txt b/docs/ref/forms/fields.txt index d6bd67e3d4..2ae4fe2be6 100644 --- a/docs/ref/forms/fields.txt +++ b/docs/ref/forms/fields.txt @@ -322,10 +322,6 @@ inside ``aria-describedby``: >>> print(f["username"]) -.. versionchanged:: 5.0 - - ``aria-describedby`` was added to associate ``help_text`` with its input. - .. versionchanged:: 5.1 ``aria-describedby`` support was added for ``