diff --git a/apps/product/views/back.py b/apps/product/views/back.py index 17902917..a660d242 100644 --- a/apps/product/views/back.py +++ b/apps/product/views/back.py @@ -92,7 +92,20 @@ class ProductDetailBackOfficeView(ProductBackOfficeMixinView, class ProductListCreateBackOfficeView(ProductBackOfficeMixinView, generics.ListCreateAPIView): - """Product back-office list-create view.""" + """ + Product back-office list-create view. + + **GET** + ``` + Implement getting product back-office list. + ``` + + **POST** + ``` + Implement creating product back-office. + ``` + + """ serializer_class = serializers.ProductBackOfficeDetailSerializer @@ -120,13 +133,47 @@ class ProductTypeTagCategoryCreateBackOfficeView(ProductTypeBackOfficeMixinView, class ProductSubTypeListCreateBackOfficeView(ProductSubTypeBackOfficeMixinView, generics.ListCreateAPIView): - """Product sub type back-office list-create view.""" + """ + Product sub type back-office list-create view. + + **GET** + ``` + Implement getting product sub type back-office list. + ``` + + **POST** + ``` + Implement creating product sub type back-office. + ``` + """ serializer_class = serializers.ProductSubTypeBackOfficeDetailSerializer class ProductSubTypeRUDBackOfficeView(ProductSubTypeBackOfficeMixinView, generics.RetrieveUpdateDestroyAPIView): - """Product sub type back-office retrieve-update-destroy view.""" + """ + Product sub type back-office retrieve-update-destroy view. + + **GET** + ``` + Implement getting object Product sub type back-office. + ``` + + **PUT** + ``` + Implement updating Product sub type back-office. + ``` + + **PATCH** + ``` + Implement partial updating Product sub type back-office. + ``` + + **DELETE** + ``` + Implement deleting Product sub type back office + ``` + """ serializer_class = serializers.ProductSubTypeBackOfficeDetailSerializer