1
0
mirror of https://github.com/django/django.git synced 2025-10-23 21:59:11 +00:00

Removed versionadded/changed annotations for 5.0.

This also removes remaining versionadded/changed annotations for older
versions.
This commit is contained in:
Natalia
2024-05-03 14:39:43 -03:00
committed by nessita
parent ec44247f59
commit 05cce083ad
44 changed files with 0 additions and 379 deletions

View File

@@ -55,12 +55,6 @@ General-purpose aggregation functions
F("some_field").desc()
.. versionchanged:: 5.0
In older versions, if there are no rows and ``default`` is not
provided, ``ArrayAgg`` returned an empty list instead of ``None``. If
you need it, explicitly set ``default`` to ``Value([])``.
``BitAnd``
----------
@@ -182,12 +176,6 @@ General-purpose aggregation functions
{'parking': True, 'double_bed': True}
]}]>
.. versionchanged:: 5.0
In older versions, if there are no rows and ``default`` is not
provided, ``JSONBAgg`` returned an empty list instead of ``None``. If
you need it, explicitly set ``default`` to ``Value([])``.
``StringAgg``
-------------
@@ -243,12 +231,6 @@ General-purpose aggregation functions
'headline': 'NASA uses Python', 'publication_names': 'Science News, The Python Journal'
}]>
.. versionchanged:: 5.0
In older versions, if there are no rows and ``default`` is not
provided, ``StringAgg`` returned an empty string instead of ``None``.
If you need it, explicitly set ``default`` to ``Value("")``.
Aggregate functions for statistics
==================================

View File

@@ -136,8 +136,6 @@ used for queries that select only included fields
``violation_error_code``
------------------------
.. versionadded:: 5.0
.. attribute:: ExclusionConstraint.violation_error_code
The error code used when ``ValidationError`` is raised during