#14645: Exclude query with multiple conditions for the same multi-value relation
not correct
-------------------------------------+-------------------------------------
Reporter: Ben Buchwald | Owner: nobody
<bb2@…> |
Type: Bug | Status: new
Component: Database layer | Version: dev
(models, ORM) |
Severity: Normal | Resolution:
Keywords: exclude manytomany | Triage Stage: Accepted
Has patch: 1 | Needs documentation: 0
Needs tests: 0 | Patch needs improvement: 1
Easy pickings: 0 | UI/UX: 0
-------------------------------------+-------------------------------------
Comment (by Annabelle Wiegart):
I just had a look at this ticket. The surprising exclude() behaviour and
the workaround are now documented in
https://docs.djangoproject.com/en/6.0/topics/db/queries/#spanning-multi-
valued-relationships. Could this ticket actually be closed? Or is there a
wish to change the exclude() behaviour?
--
Ticket URL: <https://code.djangoproject.com/ticket/14645#comment:26>
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/0107019b125bc599-b2553f13-19fc-4f8b-af8e-4ed2caec2278-000000%40eu-central-1.amazonses.com.