﻿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
13661	Code error in serialization docs	Jared Forsyth	nobody	"Under [http://docs.djangoproject.com/en/dev/topics/serialization/#serialization-of-natural-keys serialization of natural keys], the following code is given as an example:

{{{ serializers.serialize([book1, book2], format='json', indent=2, use_natural_keys=True) }}}

this throws an exception, as the non-kw arguments for serialize are [format, data]. This should be changed to

{{{ serializers.serialize('json', [book1, book2], indent=2, use_natural_keys=True) }}}

the attached patch does this."		closed	Documentation	dev		fixed			Ready for checkin	1	0	0	0	0	0
