#28395: first() adds id field to group by clause on aggregation queries
-------------------------------------+-------------------------------------
Reporter: John Gresty | Owner: Botond
Type: | Béres
Cleanup/optimization | Status: closed
Component: Documentation | Version: master
Severity: Normal | Resolution: fixed
Keywords: | Triage Stage: Accepted
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:"854aec4801d74fa00a6695b58c95257dadc1fc83" 854aec48]:
{{{
#!CommitTicketReference repository=""
revision="854aec4801d74fa00a6695b58c95257dadc1fc83"
[2.0.x] Fixed #28395 -- Doc'd that QuerySet.first() can affect aggregation
queries.
Backport of 95a14cfc47de5762ddb1400e6e5152f9e3172657 from master
}}}
--
Ticket URL: <https://code.djangoproject.com/ticket/28395#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.4a2d50d8424de5c2f7987ad9acf72d2e%40djangoproject.com.
For more options, visit https://groups.google.com/d/optout.