#29067: QuerySet.values_list(..., flat=True) combined with .annotate() 
incorrectly
includes the annotate columns
-------------------------------------+-------------------------------------
     Reporter:  Jon Dufresne         |                    Owner:  nobody
         Type:  Bug                  |                   Status:  closed
    Component:  Database layer       |                  Version:  2.0
  (models, ORM)                      |
     Severity:  Release blocker      |               Resolution:  fixed
     Keywords:                       |             Triage Stage:  Ready for
                                     |  checkin
    Has patch:  1                    |      Needs documentation:  0
  Needs tests:  0                    |  Patch needs improvement:  0
Easy pickings:  0                    |                    UI/UX:  0
-------------------------------------+-------------------------------------

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>
Django <https://code.djangoproject.com/>
The Web framework for perfectionists with deadlines.

-- 
You received this message because you are subscribed to the Google Groups 
"Django updates" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-updates/067.c8af420772aa284fa1a9ee8a0af726cf%40djangoproject.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to