#8467: For ManyToMany manager, we should convert objects being added or removed
to
the pk type if they are not.
-------------------------------------+-------------------------------------
Reporter: Wonlay | Owner: nobody
Type: New feature | Status: new
Component: Database layer | Version: master
(models, ORM) |
Severity: Normal | Resolution:
Keywords: Duplicate entry, | Triage Stage: Accepted
add, remove, ManyToManyField |
Has patch: 1 | Needs documentation: 0
Needs tests: 0 | Patch needs improvement: 0
Easy pickings: 0 | UI/UX: 0
-------------------------------------+-------------------------------------
Comment (by Mariusz Felisiak <felisiak.mariusz@…>):
In [changeset:"8cc711999ab839c1a93cb228b35beac4a454fafc" 8cc7119]:
{{{
#!CommitTicketReference repository=""
revision="8cc711999ab839c1a93cb228b35beac4a454fafc"
Refs #8467 -- Added test for RelatedManager.add()/remove() with an invalid
type.
}}}
--
Ticket URL: <https://code.djangoproject.com/ticket/8467#comment:18>
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/064.a9f71eeed338426503a4a21aa2df3786%40djangoproject.com.