fix - show org type by binary childs

This commit is contained in:
2025-11-04 11:59:20 +03:30
parent bcc9bac5fc
commit 95921aa8b4
4 changed files with 43 additions and 4 deletions

View File

@@ -207,7 +207,7 @@ class ProvinceViewSet(SoftDeleteMixin, ModelViewSet):
serializer_class = ProvinceSerializer
class OrganizationTypeViewSet(SoftDeleteMixin, ModelViewSet):
class OrganizationTypeViewSet(BaseViewSet, SoftDeleteMixin, ModelViewSet):
""" Crud operations for Organization Type model """ #
queryset = OrganizationType.objects.all()
serializer_class = OrganizationTypeSerializer