﻿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
11929	manage.py dumpdata outputs YAML in unhelpful order	sampablokuper	Tobias Kunze	"The [http://docs.djangoproject.com/en/dev/howto/initial-data/ docs] suggest providing initial YAML data in the following format:

{{{
- model: myapp.person
  pk: 1
  fields:
    first_name: John
    last_name: Lennon
}}}

but the manage.py dumpdata outputs YAML in the following form:

{{{
-   fields: {first_name: John, last_name: Lennon}
    model: myapp.person
    pk: 1
}}}

The fact that this is flow rather than block style YAML is the subject of [http://code.djangoproject.com/ticket/11927 #11927], but there's another problem, which is that rather than putting the model and PK first (which is most human-readable), dumpdata outputs the fields first."	Cleanup/optimization	closed	Core (Serialization)	dev	Normal	fixed		sam.kuper@…	Accepted	1	0	0	0	0	0
