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
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
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
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
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
5 matches
Mail list logo