#19195: Using distinct([*fields]) filter on a foreign key produces an ordering
error when the foreign key has a Meta ordering field.
-------------------------------------+-------------------------------------
Reporter: chrisedgemon@… | Owner: nobody
Type: Bug | Status: closed
Component: Database layer | Version:
(models, ORM) | 1.7-beta-2
Severity: Release blocker | Resolution: fixed
Keywords: distinct, query | Triage Stage: Ready for
Has patch: 1 | checkin
Needs tests: 0 | Needs documentation: 0
Easy pickings: 0 | Patch needs improvement: 0
| UI/UX: 0
-------------------------------------+-------------------------------------
Comment (by Simon Charette <charette.s@…>):
In [changeset:"d04e7302240f5be34cdd303002bc8e7dcd81f529"]:
{{{
#!CommitTicketReference repository=""
revision="d04e7302240f5be34cdd303002bc8e7dcd81f529"
Fixed #22711 -- Adjusted ordering checks to allow implicit relation
fields.
refs #19195.
}}}
--
Ticket URL: <https://code.djangoproject.com/ticket/19195#comment:17>
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/080.821cd705739ac9d683f3ab88dc5ca7fe%40djangoproject.com.
For more options, visit https://groups.google.com/d/optout.