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
Is there an example of how django-seed can generate fake users to populate test database?
I have a django app called trainers in which I implement login / logout API's, and inside this app I created a serializer for the User model imported from django.contrib.auth.models
When I ran python manage.py seed trainers --number=15, I get django_seed.exceptions.SeederException: No classed found. Did you add entities to the Seeder? Is there an entity step I'm missing to be able to generate data for Django's User model? If so, how would one go about adding this entity to the Seeder?
The text was updated successfully, but these errors were encountered:
Is there an example of how
django-seed
can generate fake users to populate test database?I have a django app called
trainers
in which I implement login / logout API's, and inside this app I created a serializer for the User model imported fromdjango.contrib.auth.models
When I ran
python manage.py seed trainers --number=15
, I getdjango_seed.exceptions.SeederException: No classed found. Did you add entities to the Seeder?
Is there an entity step I'm missing to be able to generate data for Django's User model? If so, how would one go about adding this entity to the Seeder?The text was updated successfully, but these errors were encountered: