Here it is
db.define_table(
'location',
Field('name' , requires = IS_NOT_EMPTY),
Field('category_id', 'reference category', requires = IS_NOT_EMPTY),
Field('company_id', 'reference company', requires =
IS_NOT_EMPTY,label = 'Owner id '),
Field('user_id', 'reference auth_user',requires = IS_NOT_EMPTY ,
writable = False , readable = True),
Field('dept_id', 'reference dept',requires = IS_NOT_EMPTY ,
writable = False , readable = True ))
--
---
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/groups/opt_out.