﻿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
22406	Inconsistent way to parse boolean value from posted data	xiaowl@…	nobody	"`django.forms.fields.BooleanField.to_python` tries to test if the given value is in `('false', '0')`, but the value passed in is collected via `BooleanField.widget.value_from_datadict`, which uses a predefined dict `{'true': True, 'false': False}` to retreive boolean value, otherwise it returns `bool(value)`.

Thus, posting a boolean field with value '0' will produce `True`, instead of `False`.

    "	Bug	closed	Forms	1.6	Normal	needsinfo			Unreviewed	1	0	0	0	0	0
