Skip to content

Commit 549495b

Browse files
author
Jacob Kent
committed
add back baker_recipes
1 parent c40a507 commit 549495b

File tree

1 file changed

+13
-0
lines changed

1 file changed

+13
-0
lines changed
Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
from model_bakery.recipe import Recipe, seq
2+
3+
from .models import User
4+
5+
email_seq = seq("[email protected]")
6+
7+
user = Recipe(
8+
User,
9+
first_name="Johnny",
10+
last_name="Rico",
11+
12+
)
13+
user_seq = Recipe(User, first_name="Johnny", last_name=seq("User"), email=email_seq)

0 commit comments

Comments
 (0)