diff options
| author | Sarah Boyce <42296566+sarahboyce@users.noreply.github.com> | 2024-12-12 16:17:09 +0100 |
|---|---|---|
| committer | Sarah Boyce <42296566+sarahboyce@users.noreply.github.com> | 2025-01-15 22:28:37 +0100 |
| commit | 810edfd7428e12bd640573112c6c1a024ac33da2 (patch) | |
| tree | c6dd06c80384f51aa373dfff5e0285d753a8830f /docs/ref/models | |
| parent | 9b5ad4056ccf9ff7ea548f72d28eb66c1b4f84cc (diff) | |
Removed versionadded/changed annotations for 5.1.
This also removes remaining versionadded/changed annotations for older
versions.
Diffstat (limited to 'docs/ref/models')
| -rw-r--r-- | docs/ref/models/expressions.txt | 19 | ||||
| -rw-r--r-- | docs/ref/models/instances.txt | 4 | ||||
| -rw-r--r-- | docs/ref/models/querysets.txt | 4 |
3 files changed, 0 insertions, 27 deletions
diff --git a/docs/ref/models/expressions.txt b/docs/ref/models/expressions.txt index 5d5504dbe7..6a6356b3bb 100644 --- a/docs/ref/models/expressions.txt +++ b/docs/ref/models/expressions.txt @@ -188,8 +188,6 @@ the field value of each one, and saving each one back to the database:: Slicing ``F()`` expressions ~~~~~~~~~~~~~~~~~~~~~~~~~~~ -.. versionadded:: 5.1 - For string-based fields, text-based fields, and :class:`~django.contrib.postgres.fields.ArrayField`, you can use Python's array-slicing syntax. The indices are 0-based and the ``step`` argument to @@ -920,20 +918,12 @@ ordinary sequence of rows. the standard start and end points, such as ``CURRENT ROW`` and ``UNBOUNDED FOLLOWING``. - .. versionchanged:: 5.1 - - The ``exclusion`` argument was added. - .. class:: RowRange(start=None, end=None, exclusion=None) .. attribute:: frame_type This attribute is set to ``'ROWS'``. - .. versionchanged:: 5.1 - - The ``exclusion`` argument was added. - Both classes return SQL with the template: .. code-block:: sql @@ -942,8 +932,6 @@ Both classes return SQL with the template: .. class:: WindowFrameExclusion - .. versionadded:: 5.1 - .. attribute:: CURRENT_ROW .. attribute:: GROUP @@ -1024,11 +1012,6 @@ released between twelve months before and twelve months after each movie: ... ), ... ) -.. versionchanged:: 5.1 - - Support for positive integer ``start`` and negative integer ``end`` was - added for ``RowRange``. - .. currentmodule:: django.db.models Technical Information @@ -1059,8 +1042,6 @@ calling the appropriate methods on the wrapped expression. .. attribute:: constraint_validation_compatible - .. versionadded:: 5.1 - Tells Django that this expression can be used during a constraint validation. Expressions with ``constraint_validation_compatible`` set to ``False`` must have only one source expression. Defaults to diff --git a/docs/ref/models/instances.txt b/docs/ref/models/instances.txt index 7482b98a66..c4bf8aae5f 100644 --- a/docs/ref/models/instances.txt +++ b/docs/ref/models/instances.txt @@ -214,10 +214,6 @@ values:: obj.refresh_from_db(from_queryset=MyModel.objects.select_for_update()) -.. versionchanged:: 5.1 - - The ``from_queryset`` argument was added. - .. method:: Model.get_deferred_fields() A helper method that returns a set containing the attribute names of all those diff --git a/docs/ref/models/querysets.txt b/docs/ref/models/querysets.txt index ec27936cdb..8bf83838c0 100644 --- a/docs/ref/models/querysets.txt +++ b/docs/ref/models/querysets.txt @@ -3106,10 +3106,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.1 - - Support for the ``generic_plan`` option on PostgreSQL 16+ was added. - .. versionchanged:: 5.2 Support for the ``memory`` and ``serialize`` options on PostgreSQL 17+ was |
