#36607: Improve the documentation by mentioning that "filter(a,b)" may not be
the
same as "filter(a).filter(b)" on querysets.
-------------------------------------+-------------------------------------
Reporter: Aaron | Owner: (none)
Type: Uncategorized | 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
-------------------------------------+-------------------------------------
Changes (by Simon Charette):
* resolution: => invalid
* status: new => closed
Comment:
Hello Aaron, thank you for your report.
The behaviour difference between chaining and combining `filter` calls
when spanning multi-valued relationships
[https://docs.djangoproject.com/en/5.2/topics/db/queries/#spanning-multi-
valued-relationships is already by the documented] under the ''Making
queries > Spanning multi-valued relationships'' section with a concrete
example so I'm going to assume you missed it before opening the ticket.
--
Ticket URL: <https://code.djangoproject.com/ticket/36607#comment:4>
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 visit
https://groups.google.com/d/msgid/django-updates/010701993e33e826-efa01214-4a2d-4049-98a9-c56a67d39363-000000%40eu-central-1.amazonses.com.