From 549495ba941dbf5c345b6d2a65bf7da1ad28f0ff Mon Sep 17 00:00:00 2001 From: Jacob Kent Date: Mon, 6 Feb 2023 13:58:16 -0500 Subject: [PATCH] add back baker_recipes --- .../user/baker_recipes.py | 13 +++++++++++++ 1 file changed, 13 insertions(+) create mode 100644 {{cookiecutter.repo_name}}/{{cookiecutter.repo_name}}/user/baker_recipes.py diff --git a/{{cookiecutter.repo_name}}/{{cookiecutter.repo_name}}/user/baker_recipes.py b/{{cookiecutter.repo_name}}/{{cookiecutter.repo_name}}/user/baker_recipes.py new file mode 100644 index 000000000..a42acf13a --- /dev/null +++ b/{{cookiecutter.repo_name}}/{{cookiecutter.repo_name}}/user/baker_recipes.py @@ -0,0 +1,13 @@ +from model_bakery.recipe import Recipe, seq + +from .models import User + +email_seq = seq("test@lightmatter.com") + +user = Recipe( + User, + first_name="Johnny", + last_name="Rico", + email="jonnyrico@fednet.gov", +) +user_seq = Recipe(User, first_name="Johnny", last_name=seq("User"), email=email_seq)