AC-1116 Support for deleting project/inventory updates.

This commit is contained in:
Chris Church
2014-04-01 17:15:37 -04:00
parent 4069a33ab0
commit 658581cce0
8 changed files with 47 additions and 10 deletions

View File

@@ -500,7 +500,7 @@ class ProjectUpdateView(GenericAPIView):
else:
return self.http_method_not_allowed(request, *args, **kwargs)
class ProjectUpdateDetail(RetrieveAPIView):
class ProjectUpdateDetail(RetrieveDestroyAPIView):
model = ProjectUpdate
serializer_class = ProjectUpdateSerializer
@@ -1064,7 +1064,7 @@ class InventorySourceUpdateView(GenericAPIView):
else:
return self.http_method_not_allowed(request, *args, **kwargs)
class InventoryUpdateDetail(RetrieveAPIView):
class InventoryUpdateDetail(RetrieveDestroyAPIView):
model = InventoryUpdate
serializer_class = InventoryUpdateSerializer