Skip to content

Instantly share code, notes, and snippets.

@brunomichetti
Created September 25, 2019 19:01
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save brunomichetti/66873c3b0a3509f81926c46a44958716 to your computer and use it in GitHub Desktop.
Save brunomichetti/66873c3b0a3509f81926c46a44958716 to your computer and use it in GitHub Desktop.
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