mirror of
https://github.com/django/django.git
synced 2025-07-24 13:44:32 +00:00
Fixed #34013 -- Added QuerySet.order_by() support for annotation transforms.
Thanks Eugene Morozov and Ben Nace for the reports.
This commit is contained in:
parent
fcf95e5927
commit
b0ad41198b
6 changed files with 97 additions and 12 deletions
|
@ -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
|
||||
~~~~~~~~~~~~~~~~~~~~~~
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue