#19652: Fix for #19524 introduced a backward compatiblity issue with related
managers on 1.5.X
-------------------------------------+-------------------------------------
Reporter: charettes | Owner: akaariai
Type: Bug | Status: assigned
Component: ORM aggregation | Version:
Severity: Release blocker | 1.5-beta-1
Keywords: none EmptyQuerySet | Resolution:
none | Triage Stage: Accepted
Has patch: 0 | Needs documentation: 0
Needs tests: 0 | Patch needs improvement: 0
Easy pickings: 0 | UI/UX: 0
-------------------------------------+-------------------------------------
Comment (by akaariai):
The correct approach seems to be to filter using `pk__in=[]` which ensures
no query is executed.
I am too tired to write a patch today. If anybody else wants to tackle
this I won't object...
--
Ticket URL: <https://code.djangoproject.com/ticket/19652#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 post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit https://groups.google.com/groups/opt_out.