Re: [web2py] Crud.read help

2011-08-30 Thread Bruno Rocha
That is id_group not group_id Look all the auth keys() 'accessible_query', 'add_group', 'add_membership', 'add_permission', 'archive', 'basic', 'cas_login', 'cas_validate', 'change_password', 'db', 'define_tables', 'del_group', 'del_membership', 'del_permission', 'environment', 'ge

[web2py] Crud.read help

2011-08-29 Thread Anaconda
I am using Crud to create a group and read the group, but i get the following error below. The Crud.read for the profile function works fine but not for the group function. ('Auth' object has no attribute 'group_id') My code is: def profile(): user = auth.user_id form = crud.read(db.aut