#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 Jacob Walls):

 > Just to be sure: The filter behaviour to be documented refers to a
 ManyToMany relationship with an explicit through model, like Subscription
 in the above example. Is that correct?

 Good point, it does appear limited to `ManyToManyField`, but I don't think
 the explicit through model matters, see the example in #36617 with an
 implicit/default through model. Reusing the `Entry` model seems like a
 good idea. Somewhere toward the end of
 https://docs.djangoproject.com/en/5.2/topics/db/queries/#many-to-many-
 relationships?
-- 
Ticket URL: <https://code.djangoproject.com/ticket/26379#comment:14>
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/0107019a553e665a-e914ee5b-cbd2-41ca-8bf7-55ff61f1753c-000000%40eu-central-1.amazonses.com.

Reply via email to