Re: About _post_save

2005-10-07 Thread nichyoung
I have come across a need for this - and hacked around it by checking if I have an existing object in _pre_save and using the answer to determine whether to call code in _post_save. Nick

Re: About _post_save

2005-10-06 Thread Adrian Holovaty
On 10/6/05, Armin <[EMAIL PROTECTED]> wrote: > I think it would be relevant to me on my project here. The first time I > create a document, my application has to setup a photoset in Flickr, > but not on consequent saves. Unless there is a better way to do that, > and I'm missing something here. A

Re: About _post_save

2005-10-06 Thread Armin
Adrian, I think it would be relevant to me on my project here. The first time I create a document, my application has to setup a photoset in Flickr, but not on consequent saves. Unless there is a better way to do that, and I'm missing something here. Thanks, Armin

Re: About _post_save

2005-10-06 Thread Adrian Holovaty
On 10/6/05, paolo <[EMAIL PROTECTED]> wrote: > I'm trying to use _post_save hook. How to distinguish if an object has > been saved for the first time or if has been updated, and so make > _post_save behave differently in the two situations? There's no way to differentiate that at the moment. Is t

About _post_save

2005-10-06 Thread paolo
Hi! I'm trying to use _post_save hook. How to distinguish if an object has been saved for the first time or if has been updated, and so make _post_save behave differently in the two situations? TIA, paolo