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
I want to seed an specific model in my App. let's assume we have an app named myproduct which has two models category and products.
Using command
python manage.py seed myproduct --number=10
seeds all the models. I want to seed only the category first. or maybe I have around 10 or 11 categories and I only want to seed products. but, not both of them.
The text was updated successfully, but these errors were encountered:
I want to seed an specific model in my App. let's assume we have an app named
myproduct
which has two modelscategory
andproducts
.Using command
seeds all the models. I want to seed only the
category
first. or maybe I have around 10 or 11 categories and I only want to seedproducts
. but, not both of them.The text was updated successfully, but these errors were encountered: