mirror of
https://github.com/ansible/awx.git
synced 2026-05-17 06:17:36 -02:30
Fix 500 error in ProjectScmInventorySources
This commit is contained in:
@@ -1120,7 +1120,7 @@ class ProjectSchedulesList(SubListCreateAPIView):
|
|||||||
class ProjectScmInventorySources(SubListCreateAPIView):
|
class ProjectScmInventorySources(SubListCreateAPIView):
|
||||||
|
|
||||||
view_name = _("Project SCM Inventory Sources")
|
view_name = _("Project SCM Inventory Sources")
|
||||||
model = Inventory
|
model = InventorySource
|
||||||
serializer_class = InventorySourceSerializer
|
serializer_class = InventorySourceSerializer
|
||||||
parent_model = Project
|
parent_model = Project
|
||||||
relationship = 'scm_inventory_sources'
|
relationship = 'scm_inventory_sources'
|
||||||
|
|||||||
Reference in New Issue
Block a user