Skip to content

Conversation

@OskarPersson
Copy link

No description provided.

@OskarPersson
Copy link
Author

This fails if the model has a non-nullable related field and a relies on a subfactory creating the related objects. I'm not sure if I can easily create all related objects directly and only bulk_create the root objects?

@MRigal
Copy link
Contributor

MRigal commented Nov 2, 2020

@OskarPersson you might add a failing test with xfail to illustrate the issue. What about checking for these objects and adding them in the bulk list, sorted so that they are created first?

@kingbuzzman
Copy link
Contributor

kingbuzzman commented Jul 18, 2022

I started a more advanced version of this over at #925

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants