this should do it

Field('name','reference othertable',ondelete='NO ACTION')


On Jun 9, 1:14 pm, Thiago Carvalho D' Ávila <thiagocav...@gmail.com>
wrote:
> Hi,
>
> I'm new to web2py, but familiar to similar frameworks. I have a system that
> uses web2py builtin auth_user table. The problem is that I wanna use
> ondelete='NO ACTION' in my app (it is CASCADE by default), and I don't know
> how to put it in the model file. Anyone can help?
>
> Att.
> Thiago

Reply via email to