From 3c8f5051dd0e9a34fa00a6fd7c77b11256269775 Mon Sep 17 00:00:00 2001 From: behruz-dev Date: Fri, 29 Aug 2025 11:49:19 +0500 Subject: [PATCH] add: add new field to order list serializer --- core/apps/orders/serializers.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/core/apps/orders/serializers.py b/core/apps/orders/serializers.py index f6fa166..b6591c7 100644 --- a/core/apps/orders/serializers.py +++ b/core/apps/orders/serializers.py @@ -7,6 +7,6 @@ class OrderListSerializer(serializers.ModelSerializer): class Meta: model = Order fields = [ - 'id', 'name', 'date', 'status', 'size', 'total_price', 'is_paid', 'location', 'location_to', + 'id', 'order_number', 'name', 'date', 'status', 'size', 'total_price', 'is_paid', 'location', 'location_to', 'location_from' ] \ No newline at end of file