From 34b697ce17a988c469d3850e4f05e4be13897e51 Mon Sep 17 00:00:00 2001 From: Alan Rominger Date: Mon, 24 Apr 2017 16:54:17 -0400 Subject: [PATCH] Fix 500 error in ProjectScmInventorySources --- awx/api/views.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/awx/api/views.py b/awx/api/views.py index 836d2db869..e8b11a3373 100644 --- a/awx/api/views.py +++ b/awx/api/views.py @@ -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'