Created
September 25, 2019 19:01
-
-
Save brunomichetti/66873c3b0a3509f81926c46a44958716 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import factory | |
from applications.people.models import Person | |
class PersonFactory(factory.Factory): | |
name = factory.Faker('name') | |
age = 25 | |
class Meta: | |
model = Person |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment