summaryrefslogtreecommitdiff
path: root/docs
diff options
context:
space:
mode:
authorSimon Charette <charette.s@gmail.com>2023-12-08 02:03:14 -0500
committerMariusz Felisiak <felisiak.mariusz@gmail.com>2023-12-12 05:51:33 +0100
commitb0ad41198b3e333f57351e3fce5a1fb47f23f376 (patch)
treeb68005963b6261679db534b102d4327b584d12e2 /docs
parentfcf95e592774a6ededec35481a2061474d467a2b (diff)
Fixed #34013 -- Added QuerySet.order_by() support for annotation transforms.
Thanks Eugene Morozov and Ben Nace for the reports.
Diffstat (limited to 'docs')
-rw-r--r--docs/releases/5.1.txt3
1 files changed, 3 insertions, 0 deletions
diff --git a/docs/releases/5.1.txt b/docs/releases/5.1.txt
index 395acb5a89..1009ffe739 100644
--- a/docs/releases/5.1.txt
+++ b/docs/releases/5.1.txt
@@ -181,6 +181,9 @@ Models
:class:`~django.db.models.expressions.ValueRange` allows excluding rows,
groups, and ties from the window frames.
+* :meth:`.QuerySet.order_by` now supports ordering by annotation transforms
+ such as ``JSONObject`` keys and ``ArrayAgg`` indices.
+
Requests and Responses
~~~~~~~~~~~~~~~~~~~~~~