mirror of
https://github.com/inventree/InvenTree
synced 2024-08-30 18:33:04 +00:00
Remove ability to delete part via API
This commit is contained in:
parent
73f672495d
commit
6612e91aec
@ -70,7 +70,7 @@ class CategoryDetail(generics.RetrieveUpdateDestroyAPIView):
|
||||
queryset = PartCategory.objects.all()
|
||||
|
||||
|
||||
class PartDetail(generics.RetrieveUpdateDestroyAPIView):
|
||||
class PartDetail(generics.RetrieveUpdateAPIView):
|
||||
""" API endpoint for detail view of a single Part object """
|
||||
queryset = Part.objects.all()
|
||||
serializer_class = PartSerializer
|
||||
|
Loading…
Reference in New Issue
Block a user