Opened 11 years ago

Closed 9 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 11 years ago by hugo

  • Type changed from defect to enhancement

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

  • Triage Stage changed from Unreviewed to Design decision needed

sounds fairly sensible to me.

comment:3 Changed 9 years ago by PhiR

  • Keywords feature_request added

comment:4 Changed 9 years ago by jacob

  • Resolution set to invalid
  • Status changed from new to closed

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

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