Skip to content

armgit / wger

Public Imported from GitHub
0

Self hosted FLOSS fitness/workout, nutrition and weight tracker

add brand and common name on ingredientinfo serializer

cryptbrn114cc85bf5f0
diff --git a/wger/nutrition/api/serializers.py b/wger/nutrition/api/serializers.py
index 28302ac85..2cd7aff4f 100644
--- a/wger/nutrition/api/serializers.py
+++ b/wger/nutrition/api/serializers.py
@@ -166,6 +166,8 @@ class IngredientInfoSerializer(serializers.ModelSerializer):
'source_url',
'code',
'name',
+ 'common_name',
+ 'brand',
'created',
'last_update',
'last_imported',