Siva Arunachalam
Siva Arunachalam

Reputation: 7770

Django - Fixtures in XML

Could anyone points out the docs which describes how the fixture can be done with XML?

Upvotes: 4

Views: 1679

Answers (2)

Izz ad-Din Ruhulessin
Izz ad-Din Ruhulessin

Reputation: 6185

Do a manage.py dumpdata --format=xml --indent=4 and you will see the xml output, which you can also use for loaddata.

Upvotes: 7

Related Questions