Merge pull request #2539 from srwareham/hide-step-ingredients
Added option: Hide step ingredients
This commit is contained in:
@ -334,6 +334,8 @@ class StepFactory(factory.django.DjangoModelFactory):
|
||||
order = factory.Sequence(lambda x: x)
|
||||
# file = models.ForeignKey('UserFile', on_delete=models.PROTECT, null=True, blank=True)
|
||||
show_as_header = True
|
||||
# TODO: need to update to fetch from User's preferences
|
||||
show_step_ingredients = True
|
||||
step_recipe__has_recipe = False
|
||||
ingredients__food_recipe_count = 0
|
||||
space = factory.SubFactory(SpaceFactory)
|
||||
|
Reference in New Issue
Block a user