mirror of
https://github.com/django/django.git
synced 2025-03-16 04:10:45 +00:00
691def10a0197d83d2d108bd9043b0916d0f09b4 made all Subquery() instances equal to each other which broke aggregation subquery pushdown which relied on object equality to determine which alias it should select. Subquery.__eq__() will be fixed in an another commit but Query.rewrite_cols() should haved used object identity from the start. Refs #30727, #30188. Thanks Makina Corpus for the report. Backport of adfbf653dc1c1d0e0dacc4ed46602d22ba28b004 from master
21 lines
623 B
Plaintext
21 lines
623 B
Plaintext
==========================
|
|
Django 3.0.7 release notes
|
|
==========================
|
|
|
|
*Expected June 1, 2020*
|
|
|
|
Django 3.0.7 fixes several bugs in 3.0.6.
|
|
|
|
Bugfixes
|
|
========
|
|
|
|
* Fixed a regression in Django 3.0 by restoring the ability to use field
|
|
lookups in ``Meta.ordering`` (:ticket:`31538`).
|
|
|
|
* Fixed a regression in Django 3.0 where ``QuerySet.values()`` and
|
|
``values_list()`` crashed if a queryset contained an aggregation and a
|
|
subquery annotation (:ticket:`31566`).
|
|
|
|
* Fixed a regression in Django 3.0 where aggregates used wrong annotations when
|
|
a queryset has multiple subqueries annotations (:ticket:`31568`).
|