step header rendering

This commit is contained in:
vabene1111
2020-07-02 12:12:17 +02:00
parent 1e2d7f77af
commit 1619d4894c
5 changed files with 224 additions and 102 deletions

View File

@ -116,7 +116,7 @@ class StepSerializer(WritableNestedModelSerializer):
class Meta:
model = Step
fields = '__all__'
fields = ('id', 'name', 'type', 'instruction', 'ingredients', 'time', 'order', 'show_as_header')
class RecipeSerializer(WritableNestedModelSerializer):