mirror of
https://github.com/ansible/awx.git
synced 2026-05-19 14:57:39 -02:30
Use SubListAPIView for RoleTeamsList
This commit is contained in:
@@ -3658,7 +3658,7 @@ class RoleUsersList(SubListCreateAttachDetachAPIView):
|
|||||||
return super(RoleUsersList, self).post(request, *args, **kwargs)
|
return super(RoleUsersList, self).post(request, *args, **kwargs)
|
||||||
|
|
||||||
|
|
||||||
class RoleTeamsList(SubListCreateAttachDetachAPIView):
|
class RoleTeamsList(SubListAPIView):
|
||||||
|
|
||||||
model = Team
|
model = Team
|
||||||
serializer_class = TeamSerializer
|
serializer_class = TeamSerializer
|
||||||
|
|||||||
Reference in New Issue
Block a user