Ordered m2m for Inventory/Inventory relationship (#13602)

Including changes to our custom Ordered m2m field which previously broke
if the source and target model was the same.

Signed-off-by: Rick Elrod <rick@elrod.me>
Co-authored-by: Alan Rominger <arominge@redhat.com>
This commit is contained in:
Rick Elrod
2023-03-03 08:28:56 -08:00
parent 2bffddb5fb
commit ab0463bf2a
6 changed files with 90 additions and 11 deletions

View File

@@ -18,6 +18,7 @@ from awx.main.models.inventory import ( # noqa
HostMetric,
HostMetricSummaryMonthly,
Inventory,
InventoryConstructedInventoryMembership,
InventorySource,
InventoryUpdate,
SmartInventoryMembership,