On Thu, 2008-02-21 at 18:58 -0800, msoulier wrote: > Hi, > > I'm loading a fixture with 2500 objects in it into postgres 7.4. > > For some reason, loaddata is looking in a lot of additional places > than the file I'm handing it. > > [EMAIL PROTECTED] teleworker]# PYTHONPATH=.. python manage.py > loaddata /root/clients.json
If you read the documentation carefully (in django-admin.txt), you'll see that "loaddata" appends the name it's given to a whole bunch of prefixes. It doesn't expect to be handed an absolute filename. It's possibly not crazy to add this option (Russell might know of a reason why it's a bad idea, but I can't immediately think of one), but, at the moment, it's behaving as intended and as documented. Regards, Malcolm -- Tolkien is hobbit-forming. http://www.pointy-stick.com/blog/ --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---