Re: Canceling save

2009-05-25 Thread diogobaeder
OK... I'll manage to do this, then... Thanks a lot, Ankit! :-) Diogo On May 26, 2:39 am, Ankit wrote: > diogobaeder wrote: > > OK, but is it garanteed that I can delete the instance without raising > > an exception later, at the other methods, like "save" and "post_save" > > handler? For me,

Re: Canceling save

2009-05-25 Thread Ankit
diogobaeder wrote: > OK, but is it garanteed that I can delete the instance without raising > an exception later, at the other methods, like "save" and "post_save" > handler? For me, overriding the "save" method seems a bit too much > code to do a very simple thing... > > Thanks! > > Diogo > > On M

Re: Canceling save

2009-05-25 Thread diogobaeder
OK, but is it garanteed that I can delete the instance without raising an exception later, at the other methods, like "save" and "post_save" handler? For me, overriding the "save" method seems a bit too much code to do a very simple thing... Thanks! Diogo On May 26, 2:15 am, Ankit wrote: > Dio

Re: Canceling save

2009-05-25 Thread Ankit
Diogo Baeder wrote: > Hi there, > > How can I can cancel a model instance "save()" call from inside a > "pre_save" handler? Do I really have to reimplement the "save" method in > the model class to accomplish it? > > Thanks! > > > > Hi there, > > How can I can cancel a model instance "save()" ca

Canceling save

2009-05-25 Thread Diogo Baeder
Hi there, How can I can cancel a model instance "save()" call from inside a "pre_save" handler? Do I really have to reimplement the "save" method in the model class to accomplish it? Thanks! --~--~-~--~~~---~--~~ You received this message because you are subscr