yes.

Field(....requires=IS_IN_SET(LIST1 if request.vars.x==y else LIST2))

On Tuesday, 10 July 2012 11:22:46 UTC-5, Hassan Alnatour wrote:
>
> Dear ALL,
>
> Can i use an if in the db.py depending in the request.vars ?
>
> i created some extra Fields to the auth_user table and one Field uses a 
> list  so if the user/register page has the lan=en i want to use another 
> list , how do you think i can do this ?
>

Reply via email to