From b0ad41198b3e333f57351e3fce5a1fb47f23f376 Mon Sep 17 00:00:00 2001 From: Simon Charette Date: Fri, 8 Dec 2023 02:03:14 -0500 Subject: Fixed #34013 -- Added QuerySet.order_by() support for annotation transforms. Thanks Eugene Morozov and Ben Nace for the reports. --- docs/releases/5.1.txt | 3 +++ 1 file changed, 3 insertions(+) (limited to 'docs') 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 ~~~~~~~~~~~~~~~~~~~~~~ -- cgit v1.3