Opened 13 years ago

Closed 11 years ago

#1037 closed enhancement (invalid)

ManyToMany should have support for deleting a single relation

Reported by: hugo Owned by: nobody
Component: Core (Other) Version:
Severity: normal Keywords: feature_request
Cc: Triage Stage: Design decision needed
Has patch: no Needs documentation: no
Needs tests: no Patch needs improvement: no
Easy pickings: UI/UX:


Currently you would have to get the list of relations for a ManyToMany field, remove the relation you want to delete and set the list of relations new. With large numbers of relations this can be inefficient (actually it's inefficient with smaller numbers, too, but might just not be such a problem). I think it would be a good idea to have a delete_<field> as a complementary of the existing add_<field> method.

Change History (4)

comment:1 Changed 13 years ago by hugo

Type: defectenhancement

comment:2 Changed 11 years ago by Simon G. <dev@…>

Triage Stage: UnreviewedDesign decision needed

sounds fairly sensible to me.

comment:3 Changed 11 years ago by Philippe Raoult

Keywords: feature_request added

comment:4 Changed 11 years ago by Jacob

Resolution: invalid
Status: newclosed

I *think* this no longer applies. Please reopen if so.

Note: See TracTickets for help on using tickets.
Back to Top