﻿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
2214	[patch] Form fields for related models not properly processed	Russell Cloran <russell@…>	Adrian Holovaty	"Hi,

When a field in a related object on a form is null=True, but the field type has empty_strings_allowed=False, and the form is submitted, blank fields are sent to get_db_prep_save() as blank strings, rather than as None.

The attached patch fixes the problem in my case. It should be reviewed, because I don't know what else it might affect.

Russell"	defect	closed	Core (Other)	dev	normal	worksforme		russell@…	Unreviewed	1	0	0	0	0	0
