to define a table you must have the auth object and the DAL connection 
executed before than your auth customizations.

models are executed alphabetically.

You need to respect this order....
1. 
db = DAL(....)

2. 
from gluon.tools import Auth
auth = Auth(db)

3. .... your customizations

4. 
auth.define_tables(.....)

PS: use auth.define_tables(signature=True) instead of 
...append(auth.signature)

-- 

--- 
You received this message because you are subscribed to the Google Groups 
"web2py-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to web2py+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.


Reply via email to