Opened 17 years ago

Closed 15 years ago

#1069 closed defect (duplicate)

Fire a signal after save of related objects

Reported by: wojtek@… 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


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)

diff.txt (609 bytes) - added by anonymous 17 years ago.

Download all attachments as: .zip

Change History (7)

Changed 17 years ago by anonymous

Attachment: diff.txt added

comment:1 Changed 15 years ago by Michael Radziej <mir@…>

Has patch: set
Needs documentation: set
Needs tests: set
Patch needs improvement: set
Triage Stage: UnreviewedDesign decision needed

Please provide a patch with full pathnames, so that trac is able to display it.

comment:2 Changed 15 years ago by Gary Wilson <gary.wilson@…>

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 Changed 15 years ago by Malcolm Tredinnick

Component: Admin interfaceCore framework
Triage Stage: Design decision neededAccepted

This should dispatch a signal, not call a function. The feature is worth having -- it's asked for a lot.

comment:4 Changed 15 years ago by Philippe Raoult

Keywords: feature_request added

comment:5 Changed 15 years ago by James Bennett

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 Changed 15 years ago by James Bennett

Resolution: duplicate
Status: newclosed

Closing in favor of #5390, which has a patch.

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