﻿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
12756	dumpdata error message should note pyyaml requirement	abeld@…	berto	"When trying to dumping some data to yaml, if pyyaml is not installed, one gets the following error message:

$ ./manage-dev dumpdata --indent=2 --format=yaml auth
Error: Unknown serialization format: yaml

It would be very helpful, if the error message would mention the lack of pyyaml, for example by saying:
""Error: Unknown serialization format: yaml (you need to install PyYAML perhaps?)""

Also, the PyYAML requirement should be mentioned on the http://docs.djangoproject.com/en/dev/howto/initial-data/ page, as well.

The point is that although the need for pyyaml is mentioned on the ""Serializing Django objects"" page, when one uses the documentation as a reference, one might miss that page resulting in some head-scratching as to how come yaml doesn't work even though the documentation claims it does.
"	Cleanup/optimization	closed	Core (Serialization)	1.1	Normal	fixed			Accepted	0	0	0	0	1	0
