delete by bug
This commit is contained in:
parent
45c8e3ca57
commit
9c3a9959e1
|
@ -128,6 +128,3 @@ class CustomModelViewSet(CreateModelMixin, UpdateModelMixin, ListModelMixin,
|
||||||
return Response(status=204)
|
return Response(status=204)
|
||||||
else:
|
else:
|
||||||
raise ValidationError(**PKS_ERROR)
|
raise ValidationError(**PKS_ERROR)
|
||||||
|
|
||||||
def perform_destroy(self, instance):
|
|
||||||
instance.delete(update_by=self.request.user)
|
|
||||||
|
|
Loading…
Reference in New Issue