﻿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
6773	Confusing error when ForeignKey lookup fails while serializing	Kenneth Arnold		"I got a confusing error when running {{{manage.py dumpdata}}}:

{{{
Error: Unable to serialize database:
}}}

Turns out that a {{{ForeignKey}}} had been marked {{{blank=True}}} but not {{{null=True}}}.

The error message gave no hint as to even which model to look in; the real exception lay hidden behind two levels of error handlers. Maybe serializers should pass on exceptions?"	Cleanup/optimization	closed	Core (Serialization)	1.3	Normal	needsinfo	dumpdata exception	kenneth.arnold@… e.robillard@… moya@… Gabriel Hurley Ryan Witt ethanp	Design decision needed	0	1	1	0	0	0
