﻿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
5784	Include field name that causes validation error in CharField.to_python	stvsmth@…	nobody	"When importing using loaddata (in this case via fixtures/initial_data.json) an attempt to import null data into a field that doesn't allow null data has the unhelpful message:
{{{
Problem installing fixture '[snip]/initial_data.json': [u'This field cannot be null.']
}}}

When initial_data has is importing to lots of models/fields it would helpful to know which field is causing the problem:
{{{
Problem installing fixture '[snip]/initial_data.json': [u""The field 'split' cannot be null.""]
}}}

Trivial patch included ... I'm new to Django, so it's unclear to me how to snag model name as well( ""Model.Field cannot be null"" ). It is also unclear to me whether this message would be silly when raised in other areas of the application."		closed	Database layer (models, ORM)	dev		wontfix	initial_data syncdb CharField		Accepted	1	0	0	1	0	0
