mirror of
https://github.com/TandoorRecipes/recipes.git
synced 2026-01-08 07:38:26 -05:00
fixed step factory
This commit is contained in:
@@ -335,7 +335,7 @@ class StepFactory(factory.django.DjangoModelFactory):
|
|||||||
# file = models.ForeignKey('UserFile', on_delete=models.PROTECT, null=True, blank=True)
|
# file = models.ForeignKey('UserFile', on_delete=models.PROTECT, null=True, blank=True)
|
||||||
show_as_header = True
|
show_as_header = True
|
||||||
# TODO: need to update to fetch from User's preferences
|
# TODO: need to update to fetch from User's preferences
|
||||||
show_step_ingredients = True
|
show_ingredients_table = True
|
||||||
step_recipe__has_recipe = False
|
step_recipe__has_recipe = False
|
||||||
ingredients__food_recipe_count = 0
|
ingredients__food_recipe_count = 0
|
||||||
space = factory.SubFactory(SpaceFactory)
|
space = factory.SubFactory(SpaceFactory)
|
||||||
|
|||||||
Reference in New Issue
Block a user