auth.signature on delete restrict

16 views
Skip to first unread message

cdbaron

unread,
Nov 5, 2019, 12:57:15 PM11/5/19
to web2py-users
Hi,

I'm trying to use auth.signature with on delete restrict in the foreign keys `created_by` and` modified_by` but it doesn't seem to work.

I tried with auth.settings.ondelete = 'RESTRICT' but it doesn't work. auth.signature is defined when instantiating the Auth class.

How can I change the auth.settings?

Thank you.
Reply all
Reply to author
Forward
0 new messages