Could anyone points out the docs which describes how the fixture can be done with XML?
Do a manage.py dumpdata --format=xml --indent=4
and you will see the xml output, which you can also use for loaddata.
These two pages should help:
http://docs.djangoproject.com/en/1.2/howto/initial-data/#providing-initial-data-with-fixtures
and
http://docs.djangoproject.com/en/1.2/topics/serialization/
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With