﻿id	summary	reporter	owner	description	type	status	component	version	severity	resolution	keywords	cc	stage	has_patch	needs_docs	needs_tests	needs_better_patch	easy	ui_ux
6937	newforms BooleanField should be more tolerant of different inputs	Simon Willison	Andrew Gibson	"Here's how BooleanField works at the moment:

http://code.djangoproject.com/browser/django/trunk/django/newforms/fields.py#L534
{{{
if value == 'False':
    return False
return bool(value)
}}}

It would be really nice if it had a slightly more human-friendly idea of what constituted true and false values. For example, '1' v.s. '0', 'true' v.s. 'false', 'yes' v.s. 'no' etc. At the moment it assumes it will only be called from a check box widget, but there are times when this code will be used for input that didn't come from an HTML form."		closed	Forms	dev		fixed			Design decision needed	1	0	0	1	0	0
