machinery to allow POSTing payloads to instances/ endpoint

This commit is contained in:
Sarabraj Singh
2022-07-20 16:22:25 -04:00
committed by Jeff Bradberry
parent 604fac2295
commit 350efc12f5
3 changed files with 31 additions and 7 deletions

View File

@@ -359,7 +359,7 @@ class DashboardJobsGraphView(APIView):
return Response(dashboard_data)
class InstanceList(ListAPIView):
class InstanceList(ListCreateAPIView):
name = _("Instances")
model = models.Instance