Merge pull request #6094 from ansible/AlanCoding-patch-2-1

Fix 500 error in ProjectScmInventorySources
This commit is contained in:
Alan Rominger
2017-04-25 10:10:48 -04:00
committed by GitHub

View File

@@ -1120,7 +1120,7 @@ class ProjectSchedulesList(SubListCreateAPIView):
class ProjectScmInventorySources(SubListCreateAPIView):
view_name = _("Project SCM Inventory Sources")
model = Inventory
model = InventorySource
serializer_class = InventorySourceSerializer
parent_model = Project
relationship = 'scm_inventory_sources'