mirror of
https://github.com/ansible/awx.git
synced 2024-11-01 08:21:15 +03:00
Use SubListAPIView for RoleTeamsList
This commit is contained in:
parent
831c4c2fef
commit
9f43b6e60c
@ -3658,7 +3658,7 @@ class RoleUsersList(SubListCreateAttachDetachAPIView):
|
||||
return super(RoleUsersList, self).post(request, *args, **kwargs)
|
||||
|
||||
|
||||
class RoleTeamsList(SubListCreateAttachDetachAPIView):
|
||||
class RoleTeamsList(SubListAPIView):
|
||||
|
||||
model = Team
|
||||
serializer_class = TeamSerializer
|
||||
|
Loading…
Reference in New Issue
Block a user