By default, those fields are not readable/writable. You can either manually 
change the readable and writable attributes of each field, or just do the 
following:

SQLFORM.grid(..., ignore_rw=True)

Anthony

On Saturday, June 28, 2014 9:45:47 AM UTC-4, Sarbjit wrote:
>
> Hi,
>
> I want to create a grid for db.auth_user (just like appadmin) where the 
> admin would be able to approve the user accounts.
>
> @auth.requires_login()      
> def manageusers():
>     grid = SQLFORM.grid(db.auth_user)
>     return dict(grid=grid)  
>
> In the grid generated by the above code, there are no registration key, 
> passwords field etc which are visible in appadmin db.auth_user table.
>
> How can I make this available here in grid especially registerationkey.
>
> Thanks
> Sarbjit
>

-- 
Resources:
- http://web2py.com
- http://web2py.com/book (Documentation)
- http://github.com/web2py/web2py (Source code)
- https://code.google.com/p/web2py/issues/list (Report Issues)
--- 
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 [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to