#9094: Invoke method after create_update.(create|update|delete)_object methods
---------------------------+------------------------------------------------
Reporter: das | Owner: nobody
Status: new | Milestone:
Component: Generic views | Version: 1.0
Keywords: | Stage: Unreviewed
Has_patch: 0 |
---------------------------+------------------------------------------------
Sometimes it's useful to be able to invoke a method after the
({{{create}}}|{{{update}}}|{{{delete}}}){{{_object}}} method saved or
deleted your object. For example, to create a log message.
The attached patch adds a {{{post_save_action}}}/{{{post_delete_action}}}
parameter to {{{create_object}}}, {{{update_object}}} and
{{{delete_object}}}, which take a method object. After saving or deleting
the object, the method is invoked before redirecting. Changes to
documentation are included.
--
Ticket URL: <http://code.djangoproject.com/ticket/9094>
Django <http://code.djangoproject.com/>
The Web framework for perfectionists with deadlines.
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"Django updates" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at
http://groups.google.com/group/django-updates?hl=en
-~----------~----~----~----~------~----~------~--~---