﻿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
18898	has_changed fails to compare model instance with primary key	adsva	nobody	I have a !ModelForm with a !ModelChoiceField that has a model instance as initial data. The form is rendered as an extra form in a formset and `empty_permitted` is True, but it still goes through validation since `has_changed` on the widget fails to equate the pk of the pre-selected field as POSTed with the model instance from the initial data. Maybe !ModelChoiceField needs its own widget that handles this comparison?	Bug	closed	Forms	1.4	Normal	fixed			Accepted	1	0	0	0	0	0
