Opened 18 years ago

Closed 16 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: no UI/UX: no

Description

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 by hugo, 18 years ago

Type: defectenhancement

comment:2 by Simon G. <dev@…>, 17 years ago

Triage Stage: UnreviewedDesign decision needed

sounds fairly sensible to me.

comment:3 by Philippe Raoult, 17 years ago

Keywords: feature_request added

comment:4 by Jacob, 16 years ago

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