Re: I can't load fixtures

2014-08-17 Thread Davide Scatto
when you run a test the django fixture discoverer search in all fixture subfolder in apps registered in settings.INSTALLED_APPS. you don't need __init__.py file nor FIXTURE_DIRS (fixture folder is a subfolder of app folder, isn't it?). did you add fixture param in yr test class? what version of

Re: I can't load fixtures

2014-08-14 Thread eprikazc
'/myapps/fixtures' is treated as absolute path. Try removing leading slash to make it relative. Either you can write full absolute path to the directory. thanks, Eugene On Thursday, August 14, 2014 9:05:30 PM UTC+4, Daniel Grace wrote: > > I created a fixtures file called testdata.xml in a fix

I can't load fixtures

2014-08-14 Thread Daniel Grace
I created a fixtures file called testdata.xml in a fixtures folder, but I can't load the fixtures file into the database. I placed an __init__.py file in the fixtures folder (not sure about this step, is it needed?) I put the fixtures directory in settings.py: FIXTURE_DIRS = ( '/myapp/fixtur