mirror of
https://github.com/ansible/awx.git
synced 2026-03-05 18:51:06 -03:30
Refactor original hosts, add related field
Also rename source_inventories to input_inventories
This commit is contained in:
@@ -109,11 +109,11 @@ class ConstructedInventoryList(InventoryList):
|
||||
return r.filter(kind='constructed')
|
||||
|
||||
|
||||
class InventorySourceInventoriesList(SubListAttachDetachAPIView):
|
||||
class InventoryInputInventoriesList(SubListAttachDetachAPIView):
|
||||
model = Inventory
|
||||
serializer_class = InventorySerializer
|
||||
parent_model = Inventory
|
||||
relationship = 'source_inventories'
|
||||
relationship = 'input_inventories'
|
||||
|
||||
|
||||
class InventoryActivityStreamList(SubListAPIView):
|
||||
|
||||
Reference in New Issue
Block a user