1
0
mirror of https://github.com/django/django.git synced 2025-10-24 06:06:09 +00:00

Removed versionadded/changed annotations for 5.2.

This commit is contained in:
Jacob Walls
2025-09-05 13:49:08 -04:00
committed by nessita
parent 1db79d8acf
commit 00a84fc6f3
38 changed files with 0 additions and 310 deletions

View File

@@ -1043,10 +1043,6 @@ If the widget is rendered in a ``<fieldset>`` then ``aria-describedby`` is
added to this element, otherwise it is added to the widget's HTML element (e.g.
``<input>``).
.. versionchanged:: 5.2
``aria-describedby`` was added to associate errors with its input.
.. _ref-forms-error-list-format:
Customizing the error list format
@@ -1059,10 +1055,6 @@ Customizing the error list format
list of errors. In addition this class has the following attributes and
methods.
.. versionchanged:: 5.2
The ``field_id`` argument was added.
.. attribute:: error_class
The CSS classes to be used when rendering the error list. Any provided
@@ -1076,8 +1068,6 @@ Customizing the error list format
.. attribute:: field_id
.. versionadded:: 5.2
An ``id`` for the field for which the errors relate. This allows an
HTML ``id`` attribute to be added in the error template and is useful
to associate the errors with the field. The default template uses the
@@ -1196,8 +1186,6 @@ Attributes of ``BoundField``
.. attribute:: BoundField.aria_describedby
.. versionadded:: 5.2
Returns an ``aria-describedby`` reference to associate a field with its
help text and errors. Returns ``None`` if ``aria-describedby`` is set in
:attr:`Widget.attrs` to preserve the user defined attribute when rendering
@@ -1505,8 +1493,6 @@ Customizing ``BoundField``
.. attribute:: Form.bound_field_class
.. versionadded:: 5.2
Define a custom :class:`~django.forms.BoundField` class to use when rendering
the form. This takes precedence over the project-level
:attr:`.BaseRenderer.bound_field_class` (along with a custom

View File

@@ -399,8 +399,6 @@ template, see also :ref:`overriding-built-in-field-templates`.
.. attribute:: Field.bound_field_class
.. versionadded:: 5.2
The ``bound_field_class`` attribute allows a per-field override of
:attr:`.Form.bound_field_class`.

View File

@@ -67,8 +67,6 @@ should return a rendered template (as a string) or raise
.. attribute:: bound_field_class
.. versionadded:: 5.2
The default class used to represent form fields across the project.
Defaults to :class:`.BoundField` class.

View File

@@ -564,8 +564,6 @@ These widgets make use of the HTML elements ``input`` and ``textarea``.
``ColorInput``
~~~~~~~~~~~~~~
.. versionadded:: 5.2
.. class:: ColorInput
* ``input_type``: ``'color'``
@@ -575,8 +573,6 @@ These widgets make use of the HTML elements ``input`` and ``textarea``.
``SearchInput``
~~~~~~~~~~~~~~~
.. versionadded:: 5.2
.. class:: SearchInput
* ``input_type``: ``'search'``
@@ -586,8 +582,6 @@ These widgets make use of the HTML elements ``input`` and ``textarea``.
``TelInput``
~~~~~~~~~~~~
.. versionadded:: 5.2
.. class:: TelInput
* ``input_type``: ``'tel'``