mirror of
https://github.com/ansible/awx.git
synced 2026-01-17 04:31:21 -03:30
mark inventory scripts as added in 2.1.0
This commit is contained in:
parent
b26122d9e1
commit
4990a59fa7
@ -1553,12 +1553,14 @@ class InventoryScriptList(ListCreateAPIView):
|
||||
|
||||
model = CustomInventoryScript
|
||||
serializer_class = CustomInventoryScriptSerializer
|
||||
new_in_210 = True
|
||||
|
||||
|
||||
class InventoryScriptDetail(RetrieveUpdateDestroyAPIView):
|
||||
|
||||
model = CustomInventoryScript
|
||||
serializer_class = CustomInventoryScriptSerializer
|
||||
new_in_210 = True
|
||||
|
||||
def destroy(self, request, *args, **kwargs):
|
||||
instance = self.get_object()
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user