Invoke method after create_update.(create|update|delete)_object methods
|Reported by:||das||Owned by:||nobody|
|Has patch:||yes||Needs documentation:||no|
|Needs tests:||no||Patch needs improvement:||no|
Sometimes it's useful to be able to invoke a method after the (
_object method saved or deleted your object. For example, to create a log message.
The attached patch adds a
post_delete_action parameter to
delete_object, which take a method object. After saving or deleting the object, the method is invoked before redirecting. Changes to documentation are included.