Thanks Niphold I appreciate.

I try to work around this by creating a ondelete function that will try to
delete the record if it raise a error respond to the user the record can't
be delete.

I struggle to catch IntegrityError, I open an other thread about that if
you have time.

I don't want a record still referenced to be deleted and I want to prevent
web2py to throw a ticket about that.

Thanks

Richard

On Tue, Dec 11, 2012 at 3:08 PM, Niphlod <[email protected]> wrote:

> : you have to let web2py recreate the table because once the table is
> created, changes to the ondelete attribute will not trigger the COSTRAINT
> drop and

-- 



Reply via email to