#2361: QuerySet.filter(m2mfield__isnull=False) may return duplicates
-------------------------------------+-------------------------------------
Reporter: daniel.tietze@… | Owner: Calvin
| DeBoer
Type: Bug | Status: new
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 Aleks-Daniel Jakimenko-Aleksejev):
Hit the same bug in 3.2.13 (and was *very* surprised!). Adding .distinct()
helps, but it feels like a workaround.
--
Ticket URL: <https://code.djangoproject.com/ticket/2361#comment:10>
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/01070181aeb1f876-9b8b262f-c4fe-4aa0-969c-d095e24abd2b-000000%40eu-central-1.amazonses.com.