On Dec 21, 2010, at 12:26 PM, cjrh wrote:
> 
> On Dec 21, 9:10 pm, Jim Karsten <[email protected]> wrote:
>> In web2py book, chapter 7 Forms and Validators, IS_IN_SET section,
>> second paragraph, should this line:
>>     If you do not want a "choose one" option, set zero=False
>> be:
>>     If you do not want a "choose one" option, set zero=None
> 
> Can you confirm that the first is broken, and the second one works? I
> am not going to check myself, I'll trust your results, I just want to
> be sure that you've tested it before I change the book.

Per the code, it should be None. Same for IS_IN_DB.

Reply via email to