#31377: Django 3.0: "GROUP BY" clauses error with tricky field annotation
     Reporter:  Holovashchenko       |                    Owner:  Hasan
  Vadym                              |  Ramezani
         Type:  Bug                  |                   Status:  closed
    Component:  Database layer       |                  Version:  3.0
  (models, ORM)                      |
     Severity:  Release blocker      |               Resolution:  fixed
     Keywords:  group by, postgres,  |             Triage Stage:  Ready for
  annotate                           |  checkin
    Has patch:  1                    |      Needs documentation:  0
  Needs tests:  0                    |  Patch needs improvement:  0
Easy pickings:  0                    |                    UI/UX:  0

Comment (by Mariusz Felisiak <felisiak.mariusz@…>):

 In [changeset:"72652bcb1b29710d23c3e6f872046d4aedc58665" 72652bcb]:
 #!CommitTicketReference repository=""
 [3.0.x] Fixed #31377 -- Disabled grouping by aliases on
 QuerySet.values()/values_list() when they collide with field names.

 Regression in fb3f034f1c63160c0ff13c609acd01c18be12f80.

 Thanks Holovashchenko Vadym for the report.

 Backport of 10866a10fe9f0ad3ffdf6f93823aaf4716e6f27c from master

Ticket URL: <https://code.djangoproject.com/ticket/31377#comment:8>
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 django-updates+unsubscr...@googlegroups.com.
To view this discussion on the web visit 

Reply via email to