On Friday, February 11, 2011 9:50:32 AM UTC-5, rochacbruno wrote: 
>
> 2011/2/11 Massimo Di Pierro <massimo....@gmail.com>
>
>> you can have
>>
>> requires=IS_IN_DB(....,_and=IS_NOT_IN_DB(...))
>>
>
> The above is a new syntax for me, is it on the book or somewhere?
>
 
Yes, in the IS_IN_DB section here: 
http://web2py.com/book/default/chapter/07#Database-Validators
 

Reply via email to