1
0
mirror of https://github.com/django/django.git synced 2025-11-07 07:15:35 +00:00

Fixed #33304 -- Allowed passing string expressions to Window(order_by).

This commit is contained in:
Simon Charette
2021-11-23 00:39:04 -05:00
committed by Mariusz Felisiak
parent e06dc4571e
commit aec71aaa5b
4 changed files with 39 additions and 29 deletions

View File

@@ -185,7 +185,9 @@ Migrations
Models
~~~~~~
* ...
* The ``order_by`` argument of the
:class:`~django.db.models.expressions.Window` expression now accepts string
references to fields and transforms.
Requests and Responses
~~~~~~~~~~~~~~~~~~~~~~