Opened 20 years ago
Closed 18 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 , 20 years ago
| Type: | defect → enhancement |
|---|
comment:2 by , 19 years ago
| Triage Stage: | Unreviewed → Design decision needed |
|---|
comment:3 by , 18 years ago
| Keywords: | feature_request added |
|---|
comment:4 by , 18 years ago
| Resolution: | → invalid |
|---|---|
| Status: | new → closed |
I *think* this no longer applies. Please reopen if so.
Note:
See TracTickets
for help on using tickets.
sounds fairly sensible to me.