Opened 10 years ago

Closed 9 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: UI/UX:


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 10 years ago.

Download all attachments as: .zip

Change History (7)

Changed 10 years ago by anonymous

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

  • Has patch set
  • Needs documentation set
  • Needs tests set
  • Patch needs improvement set
  • Triage Stage changed from Unreviewed to Design decision needed

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

comment:2 Changed 9 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 9 years ago by mtredinnick

  • Component changed from Admin interface to Core framework
  • Triage Stage changed from Design decision needed to Accepted

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

comment:4 Changed 9 years ago by PhiR

  • Keywords feature_request added

comment:5 Changed 9 years ago by ubernostrum

  • Summary changed from Hook to call when the manipulator finishes saving a given object *and* related objects. to Fire a signal after save of related objects

(changing summary to reflect what needs to be done here)

comment:6 Changed 9 years ago by ubernostrum

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

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

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