#13240: Modify RelatedManager and ManyRelatedManager add() and remove() to
accept
QuerySets and iterables
---------------------------------------------------+------------------------
Reporter: gabrielhurley | Owner:
gabrielhurley
Status: assigned | Milestone: 1.3
Component: Database layer (models, ORM) | Version: SVN
Resolution: | Keywords:
Stage: Accepted | Has_patch: 1
Needs_docs: 0 | Needs_tests: 0
Needs_better_patch: 1 |
---------------------------------------------------+------------------------
Changes (by russellm):
* needs_better_patch: 0 => 1
* stage: Ready for checkin => Accepted
Comment:
Having a closer look at this when I'm not engaged in a whirlwind of
triage, I agree with Alex.
I agree that there should be a way to support the adding/removing the
contents of querysets to m2m relations, but making the arguments to add()
'item or iterable' isn't it.
--
Ticket URL: <http://code.djangoproject.com/ticket/13240#comment:7>
Django <http://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 post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/django-updates?hl=en.