#36617: RelatedManager QuerySet with filters on the same relation do not add inner joins -------------------------------------+------------------------------------- Reporter: Florian Dahms | Owner: (none) Type: Bug | Status: closed Component: Database layer | Version: 5.2 (models, ORM) | Severity: Normal | Resolution: invalid Keywords: | Triage Stage: | Unreviewed Has patch: 0 | Needs documentation: 0 Needs tests: 0 | Patch needs improvement: 0 Easy pickings: 0 | UI/UX: 0 -------------------------------------+------------------------------------- Comment (by Florian Dahms):
Thanks for the reply. The documentation suggests that independent filters would always lead to the more permissive query behavior. So it is somehow a caveat that when using the object property, the following filters will behave more restrictive (maybe worth pointing out in the docs as a note). -- Ticket URL: <https://code.djangoproject.com/ticket/36617#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 django-updates+unsubscr...@googlegroups.com. To view this discussion visit https://groups.google.com/d/msgid/django-updates/01070199770cdb83-55a89268-ad23-46e0-9875-9f1b648de801-000000%40eu-central-1.amazonses.com.