Hello!

I outputted an xml file with the "dumpdata" command using manage.py. I
didn't dump data per model, I just dumped it in a single file that I
named "initial_data.xml". Now, when I try to upload it with
"loaddata", it fails. Sometimes, it doesn't find paths (my project
handles pictures), sometimes, foreign keys are not ok.

For those of you who are using loaddata, should loaddata be as
straighforward as to dumpdata and then load it (after cleaning the
database) or are there other steps in between that I am missing?

Thanks!

Divan


--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/django-users?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to