Thanks Alan,
This works fine. I just misunderstood the book. ;)
Have a good day,
David
On 15 October 2012 01:47, Alan Etkin wrote:
> For me the behavior is the expected (because the form was accepted and the
> record deleted). Perhaps you can avoid executing onaccept inside the
> handler like
For me the behavior is the expected (because the form was accepted and the
record deleted). Perhaps you can avoid executing onaccept inside the
handler like this:
def myonaccept(form):
if form.vars.delete_this_record
return
...
--
Hi there,
Maybe I just misunderstood the online book, but I would like to solve my
doubts about this:
In chaper #07, speaking about the CRUD method *ondelete*, the book says:
ondelete is called in place of onaccept when a record is deleted via an
> "update" form.
>
I added both to my *crud.updat
3 matches
Mail list logo