display of external recipes

This commit is contained in:
vabene1111
2021-01-13 02:16:16 +01:00
parent 1bb412e007
commit bb43ed203a
9 changed files with 76 additions and 18 deletions

View File

@ -191,7 +191,7 @@ class RecipeSerializer(WritableNestedModelSerializer):
fields = (
'id', 'name', 'image', 'keywords', 'steps', 'working_time',
'waiting_time', 'created_by', 'created_at', 'updated_at',
'internal', 'nutrition', 'servings'
'internal', 'nutrition', 'servings', 'file_path'
)
read_only_fields = ['image', 'created_by', 'created_at']