mirror of
https://github.com/django/django.git
synced 2025-01-03 15:06:09 +00:00
602fe961e6
This also caused un-ordered sliced prefetches to crash as they rely on Window.
Regression in e16d0c176e
that made OrderByList
piggy-back ExpressionList without porting the empty handling that the latter
provided.
Supporting explicit empty ordering on Window functions and slicing is arguably
a foot-gun design due to how backends will return undeterministic results but
this is a problem that requires a larger discussion.
Refs #35064.
Thanks Andrew Backer for the report and Mariusz for the review.
15 lines
397 B
Plaintext
15 lines
397 B
Plaintext
==========================
|
|
Django 5.1.1 release notes
|
|
==========================
|
|
|
|
*Expected September 3, 2024*
|
|
|
|
Django 5.1.1 fixes several bugs in 5.1.
|
|
|
|
Bugfixes
|
|
========
|
|
|
|
* Fixed a regression in Django 5.1 that caused a crash of ``Window()`` when
|
|
passing an empty sequence to the ``order_by`` parameter, and a crash of
|
|
``Prefetch()`` for a sliced queryset without ordering (:ticket:`35665`).
|