Code

Changes between Initial Version and Version 1 of Ticket #6643


Ignore:
Timestamp:
02/21/08 19:55:23 (6 years ago)
Author:
russellm
Comment:

I suspect the issue here stems from the way that os.path.join operates on absolute path names. As a result of this, the fixture specified as an absolute path is 'found' at every possible location.

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #6643

    • Property Needs documentation unset
    • Property Summary changed from Fixtures with absolute path names get logged multiple times to Fixtures with absolute path names get loaded multiple times
    • Property Needs tests unset
    • Property Patch needs improvement unset
  • Ticket #6643 – Description

    initial v1  
    55For some reason, loaddata is looking in a lot of additional places 
    66than the file I'm handing it. 
    7  
     7{{{ 
    88[root@vmware-espresso teleworker]# PYTHONPATH=.. python manage.py loaddata /root/clients.json 
    99Loading '/root/clients.json' fixtures... 
     
    3030Installing json fixture '/root/clients' from absolute path. 
    3131Installed 27500 object(s) from 11 fixture(s) 
     32}}}