#26379: Document that first filter() chained to a RelatedManager is sticky
-------------------------------------+-------------------------------------
Reporter: Balázs Oroszi | Owner: Annabelle
| Wiegart
Type: Bug | Status: assigned
Component: Documentation | Version: 1.9
Severity: Normal | Resolution:
Keywords: | Triage Stage: Accepted
Has patch: 0 | Needs documentation: 0
Needs tests: 0 | Patch needs improvement: 0
Easy pickings: 0 | UI/UX: 0
-------------------------------------+-------------------------------------
Comment (by Annabelle Wiegart):
Sorry, there was an incorrect assumption in my previous comment: A table
is not joined with B but with the through table B_foo.
Replying to [comment:15 Annabelle Wiegart]:
> In my understanding, the explicit through model adds another layer to
the surprise effect of the permissive filter's behaviour. As opposed to
#36617, where the A table is joined with B, to which it has a ManyToMany
relationship, Person (above) is joined with the relation table
Subscription. This allows the permissive filter to return the adam object,
even if the query params don't apply to its subscription to blog_1. Is
this a behaviour that can be shown with an implicit through model as in
#36617? I need to investigate this further.
--
Ticket URL: <https://code.djangoproject.com/ticket/26379#comment:16>
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/0107019a58c2cbda-42d53956-1597-4b42-8651-977eaa461c63-000000%40eu-central-1.amazonses.com.