﻿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
19557	forms.widgets.Widget._has_changed() erroneously returns True on Widgets with is_localized=True	Jacob Rief	nobody	"How to reproduce:
In settings.py set {{{USE_L10N=True}}} and set your locale to a language which uses a comma as decimal separator.
Create a form with fields for Float or Decimal and give them an initial value.
On the corresponding widget, set {{{is_localized=True}}}.

If this form is rendered, the initial values are displayed using a comma instead of a dot. If the client resubmits this form without changing any value, the method {{{forms.widgets.Widget._has_changed()}}} erroneously returns True, because it compares a decimal string using a comma as decimal separator (from the input field) with a string using a dot (from the initial value).

The attached patch worked for me.
"	Bug	closed	Forms	1.4	Normal	duplicate			Unreviewed	1	0	1	0	0	0
