﻿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
4553	newsforms.models.save_instance doesn't save references to related correctly	shaunc <shaun@…>	Adrian Holovaty	"The current line 36:
        setattr(instance, f.name, cleaned_data[f.name])
will save integer primary key to field for relation *object* not the underlying field for the id
Works if replaced with:

        attname = opts.get_field( f.name ).get_attname()
        setattr(instance, attname, cleaned_data[f.name] )
"		closed	Forms	dev		invalid		shaun@…	Unreviewed	1	0	0	0	0	0
