mirror of
https://github.com/ansible/awx.git
synced 2026-05-11 11:27:36 -02:30
Removed api/v1/projects/N/organizations as it is no longer relevant
Also added 'organization' related field to the project
This commit is contained in:
@@ -829,13 +829,6 @@ class ProjectPlaybooks(RetrieveAPIView):
|
||||
model = Project
|
||||
serializer_class = ProjectPlaybooksSerializer
|
||||
|
||||
class ProjectOrganizationsList(SubListCreateAttachDetachAPIView):
|
||||
|
||||
model = Organization
|
||||
serializer_class = OrganizationSerializer
|
||||
parent_model = Project
|
||||
relationship = 'organizations'
|
||||
|
||||
class ProjectTeamsList(SubListCreateAttachDetachAPIView):
|
||||
|
||||
model = Team
|
||||
|
||||
Reference in New Issue
Block a user