You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In cases where a model wants a relationship with another model through one-to-one, many-to-one, or many-to-many, currently, it can only use objects that were created in the current execute. It can look in the database and find other objects that match, but those might not have been created by django-seed. It would be helpful to have a flag that allowed django-seed to make relationships with existing data when seeding. Otherwise it should only use objects that are stored in the inserted list from the current django-seed session.
This will also require looking into how the "inserted" list is stored over multiple executes.
The text was updated successfully, but these errors were encountered:
In cases where a model wants a relationship with another model through one-to-one, many-to-one, or many-to-many, currently, it can only use objects that were created in the current execute. It can look in the database and find other objects that match, but those might not have been created by django-seed. It would be helpful to have a flag that allowed django-seed to make relationships with existing data when seeding. Otherwise it should only use objects that are stored in the inserted list from the current django-seed session.
This will also require looking into how the "inserted" list is stored over multiple executes.
The text was updated successfully, but these errors were encountered: