#26797: Reverse `related_name` of a proxy not accessible to inherited proxies in
queryset
-------------------------------------+-------------------------------------
Reporter: mlorant | Owner: nobody
Type: Bug | Status: new
Component: Database layer | Version: 1.9
(models, ORM) |
Severity: Normal | Resolution:
Keywords: related_name | Triage Stage:
reverse relation | Unreviewed
Has patch: 0 | Needs documentation: 0
Needs tests: 0 | Patch needs improvement: 0
Easy pickings: 0 | UI/UX: 0
-------------------------------------+-------------------------------------
Comment (by mlorant):
The bug seems to be only on the 1.9 branch (tried with 1.9.1, 1.9.6 &
1.9.7) in fact. I tried using Django==1.10b1 and the query works as
expected:
{{{
>>> Cat.objects.filter(dog_friends__isnull=False)
<QuerySet [<Cat: Cat object>]>
}}}
Is this ticket still relevant?
--
Ticket URL: <https://code.djangoproject.com/ticket/26797#comment:2>
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/065.7f9418d1d337aebf008f0b31c66c0532%40djangoproject.com.
For more options, visit https://groups.google.com/d/optout.