Skip to content

Commit

Permalink
add back baker_recipes
Browse files Browse the repository at this point in the history
  • Loading branch information
Jacob Kent committed Feb 8, 2023
1 parent c40a507 commit 549495b
Showing 1 changed file with 13 additions and 0 deletions.
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
from model_bakery.recipe import Recipe, seq

from .models import User

email_seq = seq("[email protected]")

user = Recipe(
User,
first_name="Johnny",
last_name="Rico",
email="[email protected]",
)
user_seq = Recipe(User, first_name="Johnny", last_name=seq("User"), email=email_seq)

0 comments on commit 549495b

Please sign in to comment.