> If your fixture only contains B objects, then importing will fail if
> the A objects they're keyed to don't exist. Test databases are blank
> aside from fixtures, so the test DB and blank DB are telling you the
> same thing. You'll need to ensure that you have fixtures not only for
> the models you directly want, but also for any models which have
> relationships to them.

To better phrase the last part:

You'll need to ensure that you have fixtures not only for the models
you directly want, but also for any models which your models are
foreign-keyed to.

-- 
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