Re: Problems loading fixtures using loaddata

2007-12-05 Thread Divan Roulant
Thanks Russell for responding. I'm sorry for replying so late. I have no longer problems with foreign keys. I can't tell what was the problem but outputing fixtures for each model (one file per model instead of one file for all models) don't get me the error anymore. However, I still have problem

Re: Problems loading fixtures using loaddata

2007-11-29 Thread Russell Keith-Magee
On Nov 27, 2007 8:12 PM, Divan Roulant <[EMAIL PROTECTED]> wrote: > > 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? It should be straightforward

Problems loading fixtures using loaddata

2007-11-27 Thread Divan Roulant
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), some