[web2py] Re: IS_IN_DB() argument

2011-01-04 Thread mdipierro
ok, in trunk. On Jan 3, 8:34 pm, Fabiano fabianoeng...@gmail.com wrote: Ok. By the way, If I may suggest, it would be a nice feature, and backward compatible. As the id is an implied column and you must specify it explicit when making references, I think it it would be even more consistent to

Re: [web2py] Re: IS_IN_DB() argument

2011-01-04 Thread Fabiano - deStilaDo
On Tue, Jan 4, 2011 at 9:45 AM, mdipierro mdipie...@cs.depaul.edu wrote: ok, in trunk. Wow, don't you sleep? =) As I am using and learning web2py, I've been reading its source-code to understand the magic under the hood and to make a better use of it. I am not confident yet to write my own

[web2py] Re: IS_IN_DB() argument

2011-01-03 Thread mdipierro
The error is in the example. IS_IN_DB *never* accepted a table as second argument. Sorry for the confusion. Will fix the example. Massimo On Jan 3, 6:25 pm, Fabiano - deStilaDo fabianoeng...@gmail.com wrote: Hi, from validators.py:  342 class IS_IN_DB(Validator):  343      344    

[web2py] Re: IS_IN_DB() argument

2011-01-03 Thread Fabiano
Ok. By the way, If I may suggest, it would be a nice feature, and backward compatible. As the id is an implied column and you must specify it explicit when making references, I think it it would be even more consistent to specify a table, the id would be implicit in both cases. Regards, On