diff options
Diffstat (limited to 'docs')
| -rw-r--r-- | docs/ref/models/expressions.txt | 10 | ||||
| -rw-r--r-- | docs/releases/5.0.txt | 4 |
2 files changed, 4 insertions, 10 deletions
diff --git a/docs/ref/models/expressions.txt b/docs/ref/models/expressions.txt index 93a4bf32ab..214010f139 100644 --- a/docs/ref/models/expressions.txt +++ b/docs/ref/models/expressions.txt @@ -1063,11 +1063,6 @@ calling the appropriate methods on the wrapped expression. ``nulls_first`` and ``nulls_last`` define how null values are sorted. See :ref:`using-f-to-sort-null-values` for example usage. - .. deprecated:: 4.1 - - Passing ``nulls_first=False`` or ``nulls_last=False`` to ``asc()`` - is deprecated. Use ``None`` instead. - .. method:: desc(nulls_first=None, nulls_last=None) Returns the expression ready to be sorted in descending order. @@ -1075,11 +1070,6 @@ calling the appropriate methods on the wrapped expression. ``nulls_first`` and ``nulls_last`` define how null values are sorted. See :ref:`using-f-to-sort-null-values` for example usage. - .. deprecated:: 4.1 - - Passing ``nulls_first=False`` or ``nulls_last=False`` to ``desc()`` - is deprecated. Use ``None`` instead. - .. method:: reverse_ordering() Returns ``self`` with any modifications required to reverse the sort diff --git a/docs/releases/5.0.txt b/docs/releases/5.0.txt index d8212e69e6..494b20200c 100644 --- a/docs/releases/5.0.txt +++ b/docs/releases/5.0.txt @@ -347,3 +347,7 @@ to remove usage of these features. ``"django/forms/formsets/default.html"`` templates are removed. * The default form and formset rendering style is changed to the div-based. + +* Passing ``nulls_first=False`` or ``nulls_last=False`` to ``Expression.asc()`` + and ``Expression.desc()`` methods, and the ``OrderBy`` expression is no + longer allowed. |
