Could anyone points out the docs which describes how the fixture can be done with XML?
Asked
Active
Viewed 1,616 times
2 Answers
7
Do a manage.py dumpdata --format=xml --indent=4
and you will see the xml output, which you can also use for loaddata.

Izz ad-Din Ruhulessin
- 5,955
- 7
- 28
- 28
-
Exactly what I needed, +1 to you Izz! – synthesizerpatel Apr 02 '12 at 02:34
3
These two pages should help:
http://docs.djangoproject.com/en/1.2/howto/initial-data/#providing-initial-data-with-fixtures
and

keybits
- 4,383
- 2
- 20
- 18
-
1I agree, they should help, but all the examples there are dealing with json and yaml, no XML at all. I used the trick provided by Izz's answer to get a view of the xml format to use. – AJJ Sep 23 '11 at 16:32