Skip to content
Snippets Groups Projects
Commit 24efef4c authored by Christian Dresen's avatar Christian Dresen
Browse files

[WarpPay] Added Barcode to REST Serializer

parent fa684d69
No related branches found
No related tags found
No related merge requests found
......@@ -30,7 +30,7 @@ class ProductSerializer(serializers.ModelSerializer):
category = serializers.StringRelatedField()
class Meta:
model = Product
fields = ['id', 'name', 'price_vk', 'category', 'stock_count']
fields = ['id', 'name', 'price_vk', 'category', 'barcode','stock_count']
class Transaction(models.Model):
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment