Yes, the problem was I didn't have the second user on the db that I an trying to initialize. As I only dump data for one application, and the user data is in an other application, the foreign key constraint fails. Thanks a lot...
Shouldn't Django be reporting that failure? Success messages are confusing. On 1 Ağustos, 16:57, "Russell Keith-Magee" <[EMAIL PROTECTED]> wrote: > On 8/1/07, omat <[EMAIL PROTECTED]> wrote: > > > > > My bad. In my previous post, I think it would be a good idea to crop > > the models a bit for simplicity. Please use this one: > >http://dpaste.com/hold/15751/ > > Works fine for me, as long as you have two users defined (pk=1 and > pk=2). The fixture you provided didn't define them, but I presume you > have created them elsewhere. > > Whatever the problem is, it's very much local to your machine. I can > only suggest starting a clean project from scratch (paying particular > attention to paths, settings, etc), and see if you can replicate the > issue. > > 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 django-users@googlegroups.com 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 -~----------~----~----~----~------~----~------~--~---