summaryrefslogtreecommitdiff
path: root/docs/ref
diff options
context:
space:
mode:
authorJacob Walls <jacobtylerwalls@gmail.com>2025-09-05 13:49:08 -0400
committernessita <124304+nessita@users.noreply.github.com>2025-09-17 15:17:05 -0300
commit00a84fc6f3bb8cca15113e4d41e710123d182b4a (patch)
tree09d8a81acf0c768be984e92de5f3f1206630a266 /docs/ref
parent1db79d8acf20c38aaf52e8e7c57f43c0e6501bb9 (diff)
Removed versionadded/changed annotations for 5.2.
Diffstat (limited to 'docs/ref')
-rw-r--r--docs/ref/contrib/admin/admindocs.txt9
-rw-r--r--docs/ref/contrib/admin/index.txt2
-rw-r--r--docs/ref/contrib/auth.txt80
-rw-r--r--docs/ref/contrib/gis/gdal.txt6
-rw-r--r--docs/ref/contrib/gis/geoquerysets.txt8
-rw-r--r--docs/ref/contrib/postgres/aggregates.txt6
-rw-r--r--docs/ref/contrib/syndication.txt6
-rw-r--r--docs/ref/databases.txt2
-rw-r--r--docs/ref/django-admin.txt8
-rw-r--r--docs/ref/forms/api.txt14
-rw-r--r--docs/ref/forms/fields.txt2
-rw-r--r--docs/ref/forms/renderers.txt2
-rw-r--r--docs/ref/forms/widgets.txt6
-rw-r--r--docs/ref/migration-operations.txt2
-rw-r--r--docs/ref/models/constraints.txt14
-rw-r--r--docs/ref/models/database-functions.txt2
-rw-r--r--docs/ref/models/expressions.txt4
-rw-r--r--docs/ref/models/fields.txt10
-rw-r--r--docs/ref/models/instances.txt7
-rw-r--r--docs/ref/models/meta.txt2
-rw-r--r--docs/ref/models/querysets.txt15
-rw-r--r--docs/ref/request-response.txt12
-rw-r--r--docs/ref/urlresolvers.txt8
-rw-r--r--docs/ref/utils.txt12
24 files changed, 0 insertions, 239 deletions
diff --git a/docs/ref/contrib/admin/admindocs.txt b/docs/ref/contrib/admin/admindocs.txt
index 5a605748ad..1355c83356 100644
--- a/docs/ref/contrib/admin/admindocs.txt
+++ b/docs/ref/contrib/admin/admindocs.txt
@@ -52,10 +52,6 @@ Templates ``:template:`path/to/template.html```
Each of these support custom link text with the format
``:role:`link text <link>```. For example, ``:tag:`block <built_in-block>```.
-.. versionchanged:: 5.2
-
- Support for custom link text was added.
-
.. _admindocs-model-reference:
Model reference
@@ -89,11 +85,6 @@ A model with useful documentation might look like this::
"""Makes the blog entry live on the site."""
...
-.. versionchanged:: 5.2
-
- Access was restricted to only allow users with model view or change
- permissions.
-
View reference
==============
diff --git a/docs/ref/contrib/admin/index.txt b/docs/ref/contrib/admin/index.txt
index 64bfd83d02..2e8a09e9b2 100644
--- a/docs/ref/contrib/admin/index.txt
+++ b/docs/ref/contrib/admin/index.txt
@@ -2874,8 +2874,6 @@ is linked to the document in ``{% block dark-mode-vars %}``.
``extrabody`` block
===================
-.. versionadded:: 5.2
-
You can add custom HTML, JavaScript, or other content to appear just before the
closing ``</body>`` tag of templates that extend ``admin/base.html`` by
extending the ``extrabody`` block. For example, if you want an alert to appear
diff --git a/docs/ref/contrib/auth.txt b/docs/ref/contrib/auth.txt
index 01e1e09a3b..4438182cb0 100644
--- a/docs/ref/contrib/auth.txt
+++ b/docs/ref/contrib/auth.txt
@@ -206,10 +206,6 @@ Methods
If ``obj`` is passed in, only returns the user permissions for this
specific object.
- .. versionchanged:: 5.2
-
- ``aget_user_permissions()`` method was added.
-
.. method:: get_group_permissions(obj=None)
.. method:: aget_group_permissions(obj=None)
@@ -221,10 +217,6 @@ Methods
If ``obj`` is passed in, only returns the group permissions for
this specific object.
- .. versionchanged:: 5.2
-
- ``aget_group_permissions()`` method was added.
-
.. method:: get_all_permissions(obj=None)
.. method:: aget_all_permissions(obj=None)
@@ -236,10 +228,6 @@ Methods
If ``obj`` is passed in, only returns the permissions for this
specific object.
- .. versionchanged:: 5.2
-
- ``aget_all_permissions()`` method was added.
-
.. method:: has_perm(perm, obj=None)
.. method:: ahas_perm(perm, obj=None)
@@ -254,10 +242,6 @@ Methods
If ``obj`` is passed in, this method won't check for a permission for
the model, but for this specific object.
- .. versionchanged:: 5.2
-
- ``ahas_perm()`` method was added.
-
.. method:: has_perms(perm_list, obj=None)
.. method:: ahas_perms(perm_list, obj=None)
@@ -272,10 +256,6 @@ Methods
If ``obj`` is passed in, this method won't check for permissions for
the model, but for the specific object.
- .. versionchanged:: 5.2
-
- ``ahas_perms()`` method was added.
-
.. method:: has_module_perms(package_name)
.. method:: ahas_module_perms(package_name)
@@ -286,10 +266,6 @@ Methods
always return ``False``. For an active superuser, this method will
always return ``True``.
- .. versionchanged:: 5.2
-
- ``ahas_module_perms()`` method was added.
-
.. method:: email_user(subject, message, from_email=None, **kwargs)
Sends an email to the user. If ``from_email`` is ``None``, Django uses
@@ -334,10 +310,6 @@ Manager methods
See :ref:`Creating users <topics-auth-creating-users>` for example
usage.
- .. versionchanged:: 5.2
-
- ``acreate_user()`` method was added.
-
.. method:: create_superuser(username, email=None, password=None, **extra_fields)
.. method:: acreate_superuser(username, email=None, password=None, **extra_fields)
@@ -346,10 +318,6 @@ Manager methods
Same as :meth:`create_user`, but sets :attr:`~models.User.is_staff` and
:attr:`~models.User.is_superuser` to ``True``.
- .. versionchanged:: 5.2
-
- ``acreate_superuser()`` method was added.
-
.. method:: with_perm(perm, is_active=True, include_superusers=True, backend=None, obj=None)
Returns users that have the given permission ``perm`` either in the
@@ -566,10 +534,6 @@ The following backends are available in :mod:`django.contrib.auth.backends`:
Returns an empty set.
- .. versionchanged:: 5.2
-
- ``aget_user_permissions()`` function was added.
-
.. method:: get_group_permissions(user_obj, obj=None)
.. method:: aget_group_permissions(user_obj, obj=None)
@@ -577,10 +541,6 @@ The following backends are available in :mod:`django.contrib.auth.backends`:
Returns an empty set.
- .. versionchanged:: 5.2
-
- ``aget_group_permissions()`` function was added.
-
.. method:: get_all_permissions(user_obj, obj=None)
.. method:: aget_all_permissions(user_obj, obj=None)
@@ -589,10 +549,6 @@ The following backends are available in :mod:`django.contrib.auth.backends`:
Uses :meth:`get_user_permissions` and :meth:`get_group_permissions` to
get the set of permission strings the ``user_obj`` has.
- .. versionchanged:: 5.2
-
- ``aget_all_permissions()`` function was added.
-
.. method:: has_perm(user_obj, perm, obj=None)
.. method:: ahas_perm(user_obj, perm, obj=None)
@@ -601,10 +557,6 @@ The following backends are available in :mod:`django.contrib.auth.backends`:
Uses :meth:`get_all_permissions` to check if ``user_obj`` has the
permission string ``perm``.
- .. versionchanged:: 5.2
-
- ``ahas_perm()`` function was added.
-
.. class:: ModelBackend
This is the default authentication backend used by Django. It
@@ -644,10 +596,6 @@ The following backends are available in :mod:`django.contrib.auth.backends`:
if it wasn't provided to :func:`~django.contrib.auth.authenticate`
(which passes it on to the backend).
- .. versionchanged:: 5.2
-
- ``aauthenticate()`` function was added.
-
.. method:: get_user_permissions(user_obj, obj=None)
.. method:: aget_user_permissions(user_obj, obj=None)
@@ -658,10 +606,6 @@ The following backends are available in :mod:`django.contrib.auth.backends`:
:attr:`~django.contrib.auth.models.AbstractBaseUser.is_anonymous` or
:attr:`~django.contrib.auth.models.CustomUser.is_active` is ``False``.
- .. versionchanged:: 5.2
-
- ``aget_user_permissions()`` function was added.
-
.. method:: get_group_permissions(user_obj, obj=None)
.. method:: aget_group_permissions(user_obj, obj=None)
@@ -672,10 +616,6 @@ The following backends are available in :mod:`django.contrib.auth.backends`:
:attr:`~django.contrib.auth.models.AbstractBaseUser.is_anonymous` or
:attr:`~django.contrib.auth.models.CustomUser.is_active` is ``False``.
- .. versionchanged:: 5.2
-
- ``aget_group_permissions()`` function was added.
-
.. method:: get_all_permissions(user_obj, obj=None)
.. method:: aget_all_permissions(user_obj, obj=None)
@@ -686,10 +626,6 @@ The following backends are available in :mod:`django.contrib.auth.backends`:
:attr:`~django.contrib.auth.models.AbstractBaseUser.is_anonymous` or
:attr:`~django.contrib.auth.models.CustomUser.is_active` is ``False``.
- .. versionchanged:: 5.2
-
- ``aget_all_permissions()`` function was added.
-
.. method:: has_perm(user_obj, perm, obj=None)
.. method:: ahas_perm(user_obj, perm, obj=None)
@@ -699,10 +635,6 @@ The following backends are available in :mod:`django.contrib.auth.backends`:
permission string ``perm``. Returns ``False`` if the user is not
:attr:`~django.contrib.auth.models.CustomUser.is_active`.
- .. versionchanged:: 5.2
-
- ``ahas_perm()`` function was added.
-
.. method:: has_module_perms(user_obj, app_label)
.. method:: ahas_module_perms(user_obj, app_label)
@@ -711,10 +643,6 @@ The following backends are available in :mod:`django.contrib.auth.backends`:
Returns whether the ``user_obj`` has any permissions on the app
``app_label``.
- .. versionchanged:: 5.2
-
- ``ahas_module_perms()`` function was added.
-
.. method:: user_can_authenticate()
Returns whether the user is allowed to authenticate. To match the
@@ -786,10 +714,6 @@ The following backends are available in :mod:`django.contrib.auth.backends`:
if it wasn't provided to :func:`~django.contrib.auth.authenticate`
(which passes it on to the backend).
- .. versionchanged:: 5.2
-
- ``aauthenticate()`` function was added.
-
.. method:: clean_username(username)
Performs any cleaning on the ``username`` (e.g. stripping LDAP DN
@@ -818,10 +742,6 @@ The following backends are available in :mod:`django.contrib.auth.backends`:
if it wasn't provided to :func:`~django.contrib.auth.authenticate`
(which passes it on to the backend).
- .. versionchanged:: 5.2
-
- ``aconfigure_user()`` function was added.
-
.. method:: user_can_authenticate()
Returns whether the user is allowed to authenticate. This method
diff --git a/docs/ref/contrib/gis/gdal.txt b/docs/ref/contrib/gis/gdal.txt
index f0bb719ca0..15bfc6641f 100644
--- a/docs/ref/contrib/gis/gdal.txt
+++ b/docs/ref/contrib/gis/gdal.txt
@@ -600,21 +600,15 @@ coordinate transformation:
.. attribute:: has_curve
- .. versionadded:: 5.2
-
A boolean indicating if this geometry is or contains a curve geometry.
.. method:: get_linear_geometry
- .. versionadded:: 5.2
-
Returns a linear version of the geometry. If no conversion can be made, the
original geometry is returned.
.. method:: get_curve_geometry
- .. versionadded:: 5.2
-
Returns a curved version of the geometry. If no conversion can be made, the
original geometry is returned.
diff --git a/docs/ref/contrib/gis/geoquerysets.txt b/docs/ref/contrib/gis/geoquerysets.txt
index 1725f3bd5c..d6d477fb9c 100644
--- a/docs/ref/contrib/gis/geoquerysets.txt
+++ b/docs/ref/contrib/gis/geoquerysets.txt
@@ -205,10 +205,6 @@ MySQL ``MBRCoveredBy(poly, geom)``
SpatiaLite ``CoveredBy(poly, geom)``
========== =============================
-.. versionchanged:: 5.2
-
- MySQL support was added.
-
.. versionchanged:: 6.0
MariaDB 12.0.1+ support was added.
@@ -237,10 +233,6 @@ MySQL ``MBRCovers(poly, geom)``
SpatiaLite ``Covers(poly, geom)``
========== ==========================
-.. versionchanged:: 5.2
-
- MySQL support was added.
-
.. fieldlookup:: crosses
``crosses``
diff --git a/docs/ref/contrib/postgres/aggregates.txt b/docs/ref/contrib/postgres/aggregates.txt
index d590eb384f..81e54547e5 100644
--- a/docs/ref/contrib/postgres/aggregates.txt
+++ b/docs/ref/contrib/postgres/aggregates.txt
@@ -42,8 +42,6 @@ General-purpose aggregation functions
.. attribute:: order_by
- .. versionadded:: 5.2
-
An optional string of a field name (with an optional ``"-"`` prefix
which indicates descending order) or an expression (or a tuple or list
of strings and/or expressions) that specifies the ordering of the
@@ -149,8 +147,6 @@ General-purpose aggregation functions
.. attribute:: order_by
- .. versionadded:: 5.2
-
An optional string of a field name (with an optional ``"-"`` prefix
which indicates descending order) or an expression (or a tuple or list
of strings and/or expressions) that specifies the ordering of the
@@ -210,8 +206,6 @@ General-purpose aggregation functions
.. attribute:: order_by
- .. versionadded:: 5.2
-
An optional string of a field name (with an optional ``"-"`` prefix
which indicates descending order) or an expression (or a tuple or list
of strings and/or expressions) that specifies the ordering of the
diff --git a/docs/ref/contrib/syndication.txt b/docs/ref/contrib/syndication.txt
index ce2d55a499..f9968b6e8c 100644
--- a/docs/ref/contrib/syndication.txt
+++ b/docs/ref/contrib/syndication.txt
@@ -995,10 +995,6 @@ They share this interface:
XML documents. If your content has some of them, you might encounter a
:exc:`ValueError` when producing the feed.
- .. versionchanged:: 5.2
-
- The ``stylesheets`` argument was added.
-
:meth:`.SyndicationFeed.add_item`
Add an item to the feed with the given parameters.
@@ -1131,8 +1127,6 @@ above example should demonstrate the basic idea.
Feed stylesheets
----------------
-.. versionadded:: 5.2
-
If you wish to have your RSS feed render nicely in a browser, you will need to
provide styling information for the XML file, typically in XSLT_ or CSS
formats.
diff --git a/docs/ref/databases.txt b/docs/ref/databases.txt
index 83f044693c..19af564100 100644
--- a/docs/ref/databases.txt
+++ b/docs/ref/databases.txt
@@ -1105,8 +1105,6 @@ Example of a full DSN string::
Connection pool
---------------
-.. versionadded:: 5.2
-
To use a connection pool with `oracledb`_, set ``"pool"`` to ``True`` in the
:setting:`OPTIONS` part of your database configuration. This uses the driver's
`create_pool()`_ default values::
diff --git a/docs/ref/django-admin.txt b/docs/ref/django-admin.txt
index 922030282b..24367e5871 100644
--- a/docs/ref/django-admin.txt
+++ b/docs/ref/django-admin.txt
@@ -950,8 +950,6 @@ Uses IPv6 for the development server. This changes the default IP address from
.. envvar:: DJANGO_RUNSERVER_HIDE_WARNING
-.. versionadded:: 5.2
-
By default, a warning is printed to the console that ``runserver`` is not
suitable for production:
@@ -1081,10 +1079,6 @@ flag.
See the guide on :ref:`customizing this behavior
<customizing-shell-auto-imports>` to add or remove automatic imports.
-.. versionchanged:: 5.2
-
- Automatic models import was added.
-
.. versionchanged:: 6.0
Automatic imports of common utilities, such as ``django.conf.settings``,
@@ -1125,8 +1119,6 @@ variable or the ``~/.pythonrc.py`` script is read.
.. django-admin-option:: --no-imports
-.. versionadded:: 5.2
-
Disables the automatic import of models from :setting:`INSTALLED_APPS`.
.. django-admin-option:: --command COMMAND, -c COMMAND
diff --git a/docs/ref/forms/api.txt b/docs/ref/forms/api.txt
index 39cfd8be1e..58494f6067 100644
--- a/docs/ref/forms/api.txt
+++ b/docs/ref/forms/api.txt
@@ -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
diff --git a/docs/ref/forms/fields.txt b/docs/ref/forms/fields.txt
index 6108932d58..8309f5d38b 100644
--- a/docs/ref/forms/fields.txt
+++ b/docs/ref/forms/fields.txt
@@ -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`.
diff --git a/docs/ref/forms/renderers.txt b/docs/ref/forms/renderers.txt
index 81bdc29cb4..742ed85f59 100644
--- a/docs/ref/forms/renderers.txt
+++ b/docs/ref/forms/renderers.txt
@@ -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.
diff --git a/docs/ref/forms/widgets.txt b/docs/ref/forms/widgets.txt
index 8c19bf1206..80047aabc5 100644
--- a/docs/ref/forms/widgets.txt
+++ b/docs/ref/forms/widgets.txt
@@ -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'``
diff --git a/docs/ref/migration-operations.txt b/docs/ref/migration-operations.txt
index e636d682c7..f8b13456a0 100644
--- a/docs/ref/migration-operations.txt
+++ b/docs/ref/migration-operations.txt
@@ -278,8 +278,6 @@ Removes the constraint named ``name`` from the model with ``model_name``.
``AlterConstraint``
-------------------
-.. versionadded:: 5.2
-
.. class:: AlterConstraint(model_name, name, constraint)
Alters the constraint named ``name`` of the model with ``model_name`` with the
diff --git a/docs/ref/models/constraints.txt b/docs/ref/models/constraints.txt
index af6a2e4672..34be41962b 100644
--- a/docs/ref/models/constraints.txt
+++ b/docs/ref/models/constraints.txt
@@ -293,13 +293,6 @@ If :attr:`.UniqueConstraint.fields` is set without a
code when there are multiple fields, and to the :attr:`.Field.unique` error
code when there is a single field.
-.. versionchanged:: 5.2
-
- In older versions, the provided
- :attr:`.UniqueConstraint.violation_error_code` was not used when
- :attr:`.UniqueConstraint.fields` was set without a
- :attr:`.UniqueConstraint.condition`.
-
``violation_error_message``
---------------------------
@@ -317,10 +310,3 @@ If :attr:`.UniqueConstraint.fields` is set without a
:attr:`Meta.unique_together <django.db.models.Options.unique_together>` error
message when there are multiple fields, and to the :attr:`.Field.unique` error
message when there is a single field.
-
-.. versionchanged:: 5.2
-
- In older versions, the provided
- :attr:`.UniqueConstraint.violation_error_message` was not used when
- :attr:`.UniqueConstraint.fields` was set without a
- :attr:`.UniqueConstraint.condition`.
diff --git a/docs/ref/models/database-functions.txt b/docs/ref/models/database-functions.txt
index 3d5a64f931..c9262eb244 100644
--- a/docs/ref/models/database-functions.txt
+++ b/docs/ref/models/database-functions.txt
@@ -844,8 +844,6 @@ JSON Functions
``JSONArray``
-------------
-.. versionadded:: 5.2
-
.. class:: JSONArray(*expressions)
Accepts a list of field names or expressions and returns a JSON array
diff --git a/docs/ref/models/expressions.txt b/docs/ref/models/expressions.txt
index a1b8984a9b..fc02f08f0d 100644
--- a/docs/ref/models/expressions.txt
+++ b/docs/ref/models/expressions.txt
@@ -1095,8 +1095,6 @@ calling the appropriate methods on the wrapped expression.
.. attribute:: set_returning
- .. versionadded:: 5.2
-
Tells Django that this expression contains a set-returning function,
enforcing subquery evaluation. It's used, for example, to allow some
Postgres set-returning functions (e.g. ``JSONB_PATH_QUERY``,
@@ -1105,8 +1103,6 @@ calling the appropriate methods on the wrapped expression.
.. attribute:: allows_composite_expressions
- .. versionadded:: 5.2
-
Tells Django that this expression allows composite expressions, for
example, to support :ref:`composite primary keys
<cpk-and-database-functions>`. Defaults to ``False``.
diff --git a/docs/ref/models/fields.txt b/docs/ref/models/fields.txt
index f105096c8c..c178354db2 100644
--- a/docs/ref/models/fields.txt
+++ b/docs/ref/models/fields.txt
@@ -564,10 +564,6 @@ alongside the old one.
The primary key field is set to ``None`` when
:meth:`deleting <django.db.models.Model.delete>` an object.
-.. versionchanged:: 5.2
-
- The ``CompositePrimaryKey`` field was added.
-
``unique``
----------
@@ -716,8 +712,6 @@ isn't defined.
``CompositePrimaryKey``
-----------------------
-.. versionadded:: 5.2
-
.. class:: CompositePrimaryKey(*field_names, **options)
A virtual field used for defining a composite primary key.
@@ -758,10 +752,6 @@ The default form widget for this field is a :class:`~django.forms.TextInput`.
``max_length`` for some backends. Refer to the :doc:`database backend
notes </ref/databases>` for details.
- .. versionchanged:: 5.2
-
- Support for unlimited ``VARCHAR`` columns was added on SQLite.
-
.. attribute:: CharField.db_collation
Optional. The database collation name of the field.
diff --git a/docs/ref/models/instances.txt b/docs/ref/models/instances.txt
index d847666bbc..c8cf5957ba 100644
--- a/docs/ref/models/instances.txt
+++ b/docs/ref/models/instances.txt
@@ -465,11 +465,6 @@ field or fields compose the primary key for the model. You can read and set
this value, just as you would for any other attribute, and it will update the
correct fields in the model.
-.. versionchanged:: 5.2
-
- Support for the primary key to be composed of multiple fields was added via
- ``CompositePrimaryKey``.
-
Explicitly specifying auto-primary-key values
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
@@ -983,8 +978,6 @@ Other attributes
.. method:: Model._is_pk_set()
-.. versionadded:: 5.2
-
The ``_is_pk_set()`` method returns whether the model instance's ``pk`` is set.
It abstracts the model's primary key definition, ensuring consistent behavior
regardless of the specific ``pk`` configuration.
diff --git a/docs/ref/models/meta.txt b/docs/ref/models/meta.txt
index d06dc55111..8aa553f073 100644
--- a/docs/ref/models/meta.txt
+++ b/docs/ref/models/meta.txt
@@ -123,8 +123,6 @@ Retrieving all field instances of a model
Retrieving fields composing the primary key of a model
------------------------------------------------------
-.. versionadded:: 5.2
-
.. attribute:: Options.pk_fields
Returns a list of the fields composing the primary key of a model.
diff --git a/docs/ref/models/querysets.txt b/docs/ref/models/querysets.txt
index 59550e6690..5fb6cb33b3 100644
--- a/docs/ref/models/querysets.txt
+++ b/docs/ref/models/querysets.txt
@@ -750,11 +750,6 @@ You can also refer to fields on related models with reverse relations through
``"true"``, ``"false"``, and ``"null"`` strings for
:class:`~django.db.models.JSONField` key transforms.
-.. versionchanged:: 5.2
-
- The ``SELECT`` clause generated when using ``values()`` was updated to
- respect the order of the specified ``*fields`` and ``**expressions``.
-
``values_list()``
~~~~~~~~~~~~~~~~~
@@ -845,11 +840,6 @@ not having any author:
``"true"``, ``"false"``, and ``"null"`` strings for
:class:`~django.db.models.JSONField` key transforms.
-.. versionchanged:: 5.2
-
- The ``SELECT`` clause generated when using ``values_list()`` was updated to
- respect the order of the specified ``*fields``.
-
``dates()``
~~~~~~~~~~~
@@ -3125,11 +3115,6 @@ adverse effects on your database. For example, the ``ANALYZE`` flag supported
by MariaDB, MySQL 8.0.18+, and PostgreSQL could result in changes to data if
there are triggers or if a function is called, even for a ``SELECT`` query.
-.. versionchanged:: 5.2
-
- Support for the ``memory`` and ``serialize`` options on PostgreSQL 17+ was
- added.
-
.. _field-lookups:
``Field`` lookups
diff --git a/docs/ref/request-response.txt b/docs/ref/request-response.txt
index 892dc24008..5a2696993c 100644
--- a/docs/ref/request-response.txt
+++ b/docs/ref/request-response.txt
@@ -429,8 +429,6 @@ Methods
.. method:: HttpRequest.get_preferred_type(media_types)
- .. versionadded:: 5.2
-
Returns the preferred mime type from ``media_types``, based on the
``Accept`` header, or ``None`` if the client does not accept any of the
provided types.
@@ -882,8 +880,6 @@ Attributes
.. attribute:: HttpResponse.text
- .. versionadded:: 5.2
-
A string representation of :attr:`HttpResponse.content`, decoded using the
response's :attr:`HttpResponse.charset` (defaulting to ``UTF-8`` if empty).
@@ -1130,20 +1126,12 @@ types of HTTP responses. Like ``HttpResponse``, these subclasses live in
This read-only attribute represents the URL the response will redirect
to (equivalent to the ``Location`` response header).
- .. versionchanged:: 5.2
-
- The ``preserve_request`` argument was added.
-
.. class:: HttpResponsePermanentRedirect
Like :class:`HttpResponseRedirect`, but it returns a permanent redirect
(HTTP status code 301) instead of a "found" redirect (status code 302).
When ``preserve_request=True``, the response's status code is 308.
- .. versionchanged:: 5.2
-
- The ``preserve_request`` argument was added.
-
.. class:: HttpResponseNotModified
The constructor doesn't take any arguments and no content should be added
diff --git a/docs/ref/urlresolvers.txt b/docs/ref/urlresolvers.txt
index f795aae7fe..40e08dcc7e 100644
--- a/docs/ref/urlresolvers.txt
+++ b/docs/ref/urlresolvers.txt
@@ -90,10 +90,6 @@ For example:
>>> reverse("admin:index", fragment="no encoding is done")
'/admin/#no encoding is done'
-.. versionchanged:: 5.2
-
- The ``query`` and ``fragment`` arguments were added.
-
.. note::
The string returned by ``reverse()`` is already
@@ -147,10 +143,6 @@ URLConf is loaded. Some common cases where this function is necessary are:
* providing a reversed URL as a default value for a parameter in a function's
signature.
-.. versionchanged:: 5.2
-
- The ``query`` and ``fragment`` arguments were added.
-
``resolve()``
=============
diff --git a/docs/ref/utils.txt b/docs/ref/utils.txt
index f8a58fcda1..69af23ad83 100644
--- a/docs/ref/utils.txt
+++ b/docs/ref/utils.txt
@@ -338,8 +338,6 @@ compatibility
``Stylesheet``
--------------
-.. versionadded:: 5.2
-
.. class:: Stylesheet(url, mimetype="", media="screen")
Represents an RSS stylesheet.
@@ -383,10 +381,6 @@ compatibility
* ``stylesheets`` should be a sequence of either strings or
:class:`Stylesheet` instances.
- .. versionchanged:: 5.2
-
- The ``stylesheets`` argument was added.
-
.. method:: add_item(title, link, description, author_email=None, author_name=None, author_link=None, pubdate=None, comments=None, unique_id=None, categories=(), item_copyright=None, ttl=None, updateddate=None, enclosures=None, **kwargs)
Adds an item to the feed. All args are expected to be strings except
@@ -408,8 +402,6 @@ compatibility
.. method:: add_stylesheets(self, handler)
- .. versionadded:: 5.2
-
Add stylesheet information to the document.
Called from ``write()``.
@@ -720,10 +712,6 @@ escaping HTML.
({"id": b.id, "title": b.title} for b in books),
)
- .. versionchanged:: 5.2
-
- Support for mappings in ``args_generator`` was added.
-
.. function:: json_script(value, element_id=None, encoder=None)
Escapes all HTML/XML special characters with their Unicode escapes, so