In `FlatValuesListIterable.__iter__()`, can't assume the returned rows
have a single column as using `.annotate()` may have added additional
columns to the `SELECT`.
Introduction bisected to commit 4dfd6b88d520b43b6363946e5ee58ba14cd1efe6.
--
Ticket URL: <https://code.djangoproject.com/ticket/29067>
Django <https://code.djangoproject.com/>
The Web framework for perfectionists with deadlines.
* has_patch: 0 => 1
Comment:
https://github.com/django/django/pull/9623
--
Ticket URL: <https://code.djangoproject.com/ticket/29067#comment:1>
* stage: Unreviewed => Ready for checkin
--
Ticket URL: <https://code.djangoproject.com/ticket/29067#comment:2>
* severity: Normal => Release blocker
--
Ticket URL: <https://code.djangoproject.com/ticket/29067#comment:3>
* status: new => closed
* resolution: => fixed
Comment:
In [changeset:"3187c89d6f8c60ca7e78093d5b37e0709e71cea9" 3187c89]:
{{{
#!CommitTicketReference repository=""
revision="3187c89d6f8c60ca7e78093d5b37e0709e71cea9"
Fixed #29067 -- Fixed regression in QuerySet.values_list(..., flat=True)
followed by annotate().
}}}
--
Ticket URL: <https://code.djangoproject.com/ticket/29067#comment:4>
Comment (by Tim Graham <timograham@…>):
In [changeset:"61c74ae74f6e23e5c6468c1bc2adb348c60cc289" 61c74ae]:
{{{
#!CommitTicketReference repository=""
revision="61c74ae74f6e23e5c6468c1bc2adb348c60cc289"
[2.0.x] Fixed #29067 -- Fixed regression in QuerySet.values_list(...,
flat=True) followed by annotate().
Regression in 4dfd6b88d520b43b6363946e5ee58ba14cd1efe6.
Backport of 3187c89d6f8c60ca7e78093d5b37e0709e71cea9 from master
}}}
--
Ticket URL: <https://code.djangoproject.com/ticket/29067#comment:5>