i have tried to delete a single ManuscriptItem instance using Postman to perform my API requests on against the view below:
class ManuscriptViewSet(viewsets.Mode
def destroy(self, request, *args, **kwargs): try: instance = self.get_object() self.perform_destroy(instance) except Http404: pass return Response(status=status.HTTP_204_NO_CONTENT)
use this and it will work