feat: 添加批量命令的relation

This commit is contained in:
ibuler
2020-06-04 20:00:39 +08:00
parent 55ae8bb5e6
commit 9c6f118dbd
6 changed files with 70 additions and 12 deletions

View File

@@ -6,12 +6,12 @@ from rest_framework_bulk import BulkModelViewSet
from common.mixins import CommonApiMixin, RelationMixin
from orgs.utils import current_org
from ..utils import set_to_root_org, filter_org_queryset
from ..utils import set_to_root_org
from ..models import Organization
__all__ = [
'RootOrgViewMixin', 'OrgMembershipModelViewSetMixin', 'OrgModelViewSet',
'OrgBulkModelViewSet', 'OrgQuerySetMixin',
'OrgBulkModelViewSet', 'OrgQuerySetMixin', 'OrgGenericViewSet', 'OrgRelationMixin'
]