1
0
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:
Akita Noek 2016-06-28 10:32:36 -04:00
parent 831c4c2fef
commit 9f43b6e60c

View File

@ -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