On Fri, Feb 22, 2008 at 12:07 PM, Malcolm Tredinnick <[EMAIL PROTECTED]> wrote: > > 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. > > 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.
Whilst this is correct, I think this report may be an indicator of a subtle bug - the '11 fixtures loaded' is obviously wrong, and 27500 is 11x2500. I have a nasty feeling that the fixture loader may actually be loading the fixture 11 times, due to the way that os.path.join ignores any provided path once an absolute path name is provided on the list of paths to join. I've logged this as #6643. I'm hoping to have some time tonight to look at a few outstanding fixture tickets; I'll add this one to the list. 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 -~----------~----~----~----~------~----~------~--~---