Field <http://web2py.com/book/default/docstring/Field>('gender',
requires=IS_IN_SET
<http://web2py.com/book/default/docstring/IS_IN_SET>(['Male',
'Female', 'Other'])),


2011/8/13 ram <[email protected]>

> Is it possible to this using DAL, using Field definition?
>
> role = db.StringProperty(required=True, choices=set(["executive",
> "manager", "producer"]))
>
> Best regards
> Ram




-- 
 http://martin.tecnodoc.com.ar

Reply via email to