completed products views

This commit is contained in:
2024-03-06 01:15:28 +03:00
parent d54e2fadf2
commit a632326971
6 changed files with 94 additions and 50 deletions
+1 -1
View File
@@ -6,4 +6,4 @@ from .models import Product
class ProductSerializer(serializers.ModelSerializer):
class Meta:
model = Product
fields = "__all__"
fields = ["id", "name", "description", "sku", "price", "quantity", "barcode"]