#31990: QuerySet.ordered property is incorrect for GROUP BY queries on models
with
Meta.ordering.
-------------------------------------+-------------------------------------
Reporter: Julien Dutriaux | Owner: felixxm
Type: Bug | Status: closed
Component: Database layer | Version: 3.1
(models, ORM) |
Severity: Release blocker | 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 Mariusz Felisiak <felisiak.mariusz@…>):
In [changeset:"a3bb80dc3186bd4d11b7864268beb88595ab00fd" a3bb80dc]:
{{{
#!CommitTicketReference repository=""
revision="a3bb80dc3186bd4d11b7864268beb88595ab00fd"
[3.1.x] Fixed #31990 -- Fixed QuerySet.ordered for GROUP BY queries on
models with Meta.ordering.
Regression in 0ddb4ebf7bfcc4730c80a772dd146a49ef6895f6.
Thanks Julien Dutriaux for the report.
Backport of e11d05e0b488a3ff2b3c9d8f2e1e50f471750d6e from master
}}}
--
Ticket URL: <https://code.djangoproject.com/ticket/31990#comment:7>
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 view this discussion on the web visit
https://groups.google.com/d/msgid/django-updates/067.12ea5cc6f18c636ba0fec99dc19e44db%40djangoproject.com.