Opened 20 years ago
Closed 18 years ago
#1069 closed defect (duplicate)
Fire a signal after save of related objects
| Reported by: | Owned by: | nobody | |
|---|---|---|---|
| Component: | Core (Other) | Version: | |
| Severity: | normal | Keywords: | feature_request |
| Cc: | Triage Stage: | Accepted | |
| Has patch: | yes | Needs documentation: | yes |
| Needs tests: | yes | Patch needs improvement: | yes |
| Easy pickings: | no | UI/UX: | no |
Description
Right now _post_save is called directly after saving the given object. Often it is needed that a method is called after the manipulator finishes saving the object and all related objects, for that I propose the attached patch adding a _post_total_save hook called from the manipulator.
Attachments (1)
Change History (7)
by , 20 years ago
comment:1 by , 19 years ago
| Has patch: | set |
|---|---|
| Needs documentation: | set |
| Needs tests: | set |
| Patch needs improvement: | set |
| Triage Stage: | Unreviewed → Design decision needed |
comment:2 by , 19 years ago
New functionality will probably not be added to Manipulators since they are getting replaced by newforms changes. The patch should be updated for newforms.
comment:3 by , 19 years ago
| Component: | Admin interface → Core framework |
|---|---|
| Triage Stage: | Design decision needed → Accepted |
This should dispatch a signal, not call a function. The feature is worth having -- it's asked for a lot.
comment:4 by , 18 years ago
| Keywords: | feature_request added |
|---|
comment:5 by , 18 years ago
| Summary: | Hook to call when the manipulator finishes saving a given object *and* related objects. → Fire a signal after save of related objects |
|---|
(changing summary to reflect what needs to be done here)
comment:6 by , 18 years ago
| Resolution: | → duplicate |
|---|---|
| Status: | new → closed |
Closing in favor of #5390, which has a patch.
Please provide a patch with full pathnames, so that trac is able to display it.