Re: In admin, is there a post-commit hook that is executed after all models and inlines are saved?

2010-09-27 Thread jonathan.morgan
metime. > > Thanks, > Subhranath Chunder. > > On Mon, Sep 27, 2010 at 8:19 AM, jonathan.morgan > wrote: > > Update: > > > Well, I cobbled together a few things to accomplish most of what I > > needed to accomplish, and figured I'd write it down here s

Re: In admin, is there a post-commit hook that is executed after all models and inlines are saved?

2010-09-26 Thread jonathan.morgan
;pk_set" ] using_IN = kwargs_IN[ "using" ] #logging.debug( "In process_event_presenter_updates(): We have a signal. sender = " + str( sender ) + "; action = " + action_IN + "; reverse = " + str( reverse_IN ) + "; model = " + str( m

Re: In admin, is there a post-commit hook that is executed after all models and inlines are saved?

2010-09-18 Thread jonathan.morgan
One clarification: I think I read somewhere that django handles transactions on a per-request basis. So, there probably isn't a post- commit hook. If the instances were kept up to date, though, there could be a post-all-updates hook... On Sep 18, 12:54 pm, "jonathan.morgan"

In admin, is there a post-commit hook that is executed after all models and inlines are saved?

2010-09-18 Thread jonathan.morgan
Hello, In brief, does anyone know of a way to hook code into the save in the admin so that it executes after the main model and any relations created because of inlines are committed to the database? I don't necessarily need it to give me a re-loaded model instance, but I would at least like to b