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 with loading image files. Here's what I get:
Loading 'initial_data' fixtures... Installing xml fixture 'initial_data' from 'C:\workspace\apparto\.. \apparto\contact\fixtures'. Installing xml fixture 'initial_data' from 'C:\workspace\apparto\.. \apparto\building\fixtures'. Problem installing fixture 'C:\workspace \apparto\..\apparto\building\fixtures\initial_data.xml': [Error 3] The system ca nnot find the path specified: u'/static/photos/2007/11/28' What is strange is that for one model defined in "building", images load correctly whereas for another model, it doesn't, even if for both models, images path is under the same root (/static/photos/). I tried to put all the pictures in the same folder but surprisingly, I get the same behavior: images are found for a model but the path is not for the other model! I guess it's not much information, but maybe it is enough for you to point me in the right direction. Thanks! Divan On Nov 29, 8:48 pm, "Russell Keith-Magee" <[EMAIL PROTECTED]> wrote: > 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, and we have a fairly comprehensive suite > of unit tests to support this assertion. I am particularly suprised > that you are having problems with foreign keys - they are one area > that I know is extensively tested. > > However, we're not perfect, so you may have found a problem. If you > can provide a specific example of a failure, we can investigate > further. > > Yours, > Russ Magee %-) --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---

