#2361: QuerySet.filter(m2mfield__isnull=False) may return duplicates
-------------------------------------+-------------------------------------
Reporter: daniel.tietze@… | Owner: Norbert
| Stüken
Type: Bug | Status: assigned
Component: Database layer | Version: dev
(models, ORM) |
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 Carlton Gibson):
FWIW I also didn't read the "Spanning multi-valued relationships"
`filter(A).filter(B)` vs `filter(A, B)` example as entailing the
`filter(m2m__isnull)` example here.
(I'd have to sit down with a piece of paper to see why that's equivalent.
🙂)
Maybe expanding that section though, so it's on topic (by section title at
least)?
--
Ticket URL: <https://code.djangoproject.com/ticket/2361#comment:19>
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 on the web visit
https://groups.google.com/d/msgid/django-updates/0107018414656131-00b74fc9-4bdf-42c3-903c-d007fded5372-000000%40eu-central-1.amazonses.com.