Opened 9 years ago
Closed 9 years ago
#25097 closed New feature (fixed)
Add a delete hook method on ModelFormSets
Reported by: | Simon Litchfield | Owned by: | nobody |
---|---|---|---|
Component: | Forms | Version: | 1.8 |
Severity: | Normal | Keywords: | |
Cc: | Triage Stage: | Accepted | |
Has patch: | yes | Needs documentation: | no |
Needs tests: | no | Patch needs improvement: | no |
Easy pickings: | yes | UI/UX: | no |
Description
There are hooks to override how instances in a ModelFormSet are saved (save_new, save_existing), which is great. But there's no hook to override deletions.
https://github.com/litchfield/django/commit/1204ccc9e90ef02769548b05dd4e22f540e8e9f9
Change History (3)
comment:1 by , 9 years ago
Component: | contrib.admin → Forms |
---|
comment:2 by , 9 years ago
Summary: | No delete hook method on ModelFormSets → Add a delete hook method on ModelFormSets |
---|---|
Triage Stage: | Unreviewed → Accepted |
comment:3 by , 9 years ago
Resolution: | → fixed |
---|---|
Status: | new → closed |
Note:
See TracTickets
for help on using tickets.
In 0ffa3943: