I'm experiencing some problems when loading fixtures for Django
unittests.

If I create a fixture with manage.py dumpdata, then loading of the
fixture works (except for the fact that there is an sql error, as i am
using mysql innodb and django dumps some records before others with
foreign key references to tables that do not exist yet)

So to resolve this foreign key issue i dumped the data with the
command specifying the applications to dump: manage.py dumpdata auth
registration packets. The resulting fixture, which is essentially the
same as the one above can not be loaded. I have not been able to
figure out the reason, because loaddata loads the fixture without any
issues.

Thanks for the help

Caro

-- 
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To post to this group, send email to django-us...@googlegroups.com.
To unsubscribe from this group, send email to 
django-users+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/django-users?hl=en.

Reply via email to