﻿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
19537	Widget CheckboxInput show_hidden_initial _has_changed bug	dibrovsd@…	Claude Paroz	"`django.forms.CheckboxInput` have method
{{{
def _has_changed(self, initial, data):
    # Sometimes data or initial could be None or u'' which should be the
    # same thing as False.
    return bool(initial) != bool(data)
}}}
initial may be u'False' or u'True'
bool(initial) always return True for unicode len(initial) > 1

if initial == u'False' and data == u'on' always return False
bool(u'False') = True
bool(u'on') = True
path:
{{{
def _has_changed(self, initial, data):
    initial = True if initial == u'True' else False
    return initial != bool(data)
}}}"	Bug	closed	Forms	1.4	Normal	fixed	show_hidden_initial		Ready for checkin	1	0	0	0	0	0
