Features: 1) Add feedbacks_count, personal_orders_only, quantity, and attribute_groups to graphene object types; 2) Extend serializer to include personal_orders_only;

Fixes: None;

Extra: None;
This commit is contained in:
Egor Pavlovich Gorbunov 2025-07-29 22:38:05 +03:00
parent 7f8ab0de88
commit 640cfae961
2 changed files with 5 additions and 0 deletions

View file

@ -393,6 +393,10 @@ class ProductType(DjangoObjectType):
"slug",
"description",
"feedbacks",
"feedbacks_count",
"personal_orders_only",
"quantity",
"attribute_groups",
"images",
"price",
)

View file

@ -169,6 +169,7 @@ class ProductSimpleSerializer(ModelSerializer):
"partnumber",
"brand",
"feedbacks_count",
"personal_orders_only",
"category",
"tags",
"images",