mirror of
https://github.com/django/django.git
synced 2025-10-24 14:16:09 +00:00
Fixed #31377 -- Disabled grouping by aliases on QuerySet.values()/values_list() when they collide with field names.
Regression in fb3f034f1c.
Thanks Holovashchenko Vadym for the report.
This commit is contained in:
committed by
Mariusz Felisiak
parent
895f28f9cb
commit
10866a10fe
@@ -11,3 +11,7 @@ Bugfixes
|
||||
|
||||
* Added the ability to handle ``.po`` files containing different plural
|
||||
equations for the same language (:ticket:`30439`).
|
||||
|
||||
* Fixed a regression in Django 3.0 where ``QuerySet.values()`` and
|
||||
``values_list()`` crashed if a queryset contained an aggregation and
|
||||
``Subquery()`` annotation that collides with a field name (:ticket:`31377`).
|
||||
|
||||
Reference in New Issue
Block a user