#24570: `group_by` clause does not resolve keywords defined in `extra` clause.
-------------------------------------+-------------------------------------
     Reporter:  user0007             |                    Owner:  nobody
         Type:  Bug                  |                   Status:  new
    Component:  Database layer       |                  Version:  1.8
  (models, ORM)                      |
     Severity:  Normal               |               Resolution:
     Keywords:                       |             Triage Stage:
                                     |  Unreviewed
    Has patch:  0                    |      Needs documentation:  0
  Needs tests:  0                    |  Patch needs improvement:  0
Easy pickings:  0                    |                    UI/UX:  0
-------------------------------------+-------------------------------------
Changes (by bmispelon):

 * severity:  Release blocker => Normal
 * stage:  Accepted => Unreviewed


Comment:

 I skimmed through the code too quickly and didn't spot the
 `qs.query.group_by = ...`.

 As mentionned by Shai, using the attribute like that is not documented so
 this doesn't technically count as a regression.

 Is there no way to achieve what you're doing with the documented/supported
 `queryset.group_by()` method?

--
Ticket URL: <https://code.djangoproject.com/ticket/24570#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 [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/066.5a87761283a0bcb53a9d9bf79a018f5d%40djangoproject.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to