diff options
| author | Jacob Walls <jacobtylerwalls@gmail.com> | 2026-02-09 15:09:56 -0500 |
|---|---|---|
| committer | Jacob Walls <jacobtylerwalls@gmail.com> | 2026-02-09 16:19:13 -0500 |
| commit | 7cf1c22d4dfdd46f2082cfc55b714b68c4fd2de3 (patch) | |
| tree | 69132e550eac9916fe5dcc02db29dd9bc0b4b8a4 /docs/releases/6.1.txt | |
| parent | 0deedbd55713d3aa1da9f88063705168bf7a4e9c (diff) | |
Refs #36644 -- Documented no pk ordering in first()/last() after empty order_by().
Diffstat (limited to 'docs/releases/6.1.txt')
| -rw-r--r-- | docs/releases/6.1.txt | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/docs/releases/6.1.txt b/docs/releases/6.1.txt index ca9ba16e84..a26b2be07f 100644 --- a/docs/releases/6.1.txt +++ b/docs/releases/6.1.txt @@ -422,6 +422,10 @@ Miscellaneous ``null``, to match the behavior of :lookup:`exact=None <exact>` on key transforms. Previously, it was interpreted as an :lookup:`isnull` lookup. +* :meth:`~.QuerySet.first` and :meth:`~.QuerySet.last` no longer order by the + primary key when a ``QuerySet``'s ordering has been forcibly cleared by + calling :meth:`~.QuerySet.order_by` with no arguments. + .. _deprecated-features-6.1: Features deprecated in 6.1 |
