Skip to content

Commit

Permalink
update product serializer firld
Browse files Browse the repository at this point in the history
  • Loading branch information
msyoki committed Nov 18, 2020
1 parent 245c4fd commit b46cf89
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion dressup/serializers.py
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ class Meta:
class ProductSerializer(serializers.ModelSerializer):
class Meta:
model=Product
fields=('image','name','price','stock','size','category')
fields=('image','name','price','stock','size','category','username')


class PostSerializer(serializers.ModelSerializer):
Expand Down

0 comments on commit b46cf89

Please sign in to comment.