#26968: Additional annotate before values call includes non-relevant fields in
GROUP BY clause
-------------------------------------+-------------------------------------
     Reporter:  chrkr                |                    Owner:  nobody
         Type:  Bug                  |                   Status:  closed
    Component:  Database layer       |                  Version:  1.8
  (models, ORM)                      |
     Severity:  Normal               |               Resolution:  wontfix
     Keywords:  orm, sql,            |             Triage Stage:
  annotation                         |  Unreviewed
    Has patch:  0                    |      Needs documentation:  0
  Needs tests:  0                    |  Patch needs improvement:  0
Easy pickings:  0                    |                    UI/UX:  0
-------------------------------------+-------------------------------------

Comment (by chrkr):

 This is actually the same issue as #25095, and it is solved by commit
 6024fd5. Applying that commit to the 1.8 branch solves the problem for 1.8
 as well.

 I.e. there is a tiny fix, it is tested, just not applied to 1.8 only 1.9
 and up. Cherry-picking commit 6024fd5 onto stable/1.8.x is almost all that
 is needed.

--
Ticket URL: <https://code.djangoproject.com/ticket/26968#comment:3>
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/063.3705a4f9d3fdd3ca061829226f2ff2dd%40djangoproject.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to