Fixed projects creation api endpoints to take organization

This commit is contained in:
Akita Noek
2016-03-24 10:22:25 -04:00
parent 342747866e
commit eccb50a253
4 changed files with 56 additions and 1 deletions

View File

@@ -669,6 +669,7 @@ class OrganizationProjectsList(SubListCreateAPIView):
serializer_class = ProjectSerializer
parent_model = Organization
relationship = 'projects'
parent_key = 'organization'
class OrganizationTeamsList(SubListCreateAttachDetachAPIView):