improved source url field rendering

This commit is contained in:
vabene1111
2022-04-22 21:13:00 +02:00
parent 4ecf77f431
commit 6953f763d2
4 changed files with 60 additions and 8 deletions

View File

@@ -645,7 +645,7 @@ class RecipeSerializer(RecipeBaseSerializer):
model = Recipe
fields = (
'id', 'name', 'description', 'image', 'keywords', 'steps', 'working_time',
'waiting_time', 'created_by', 'created_at', 'updated_at',
'waiting_time', 'created_by', 'created_at', 'updated_at','source_url',
'internal', 'nutrition', 'servings', 'file_path', 'servings_text', 'rating', 'last_cooked',
)
read_only_fields = ['image', 'created_by', 'created_at']