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:
parent
7f8ab0de88
commit
640cfae961
2 changed files with 5 additions and 0 deletions
|
|
@ -393,6 +393,10 @@ class ProductType(DjangoObjectType):
|
|||
"slug",
|
||||
"description",
|
||||
"feedbacks",
|
||||
"feedbacks_count",
|
||||
"personal_orders_only",
|
||||
"quantity",
|
||||
"attribute_groups",
|
||||
"images",
|
||||
"price",
|
||||
)
|
||||
|
|
|
|||
|
|
@ -169,6 +169,7 @@ class ProductSimpleSerializer(ModelSerializer):
|
|||
"partnumber",
|
||||
"brand",
|
||||
"feedbacks_count",
|
||||
"personal_orders_only",
|
||||
"category",
|
||||
"tags",
|
||||
"images",
|
||||
|
|
|
|||
Loading…
Reference in a new issue