diff --git a/worf/views/delete.py b/worf/views/delete.py index a1564c9..464e8c0 100644 --- a/worf/views/delete.py +++ b/worf/views/delete.py @@ -1,7 +1,8 @@ +from worf.lookups import FindInstance from worf.views.base import AbstractBaseAPI -class DeleteAPI(AbstractBaseAPI): +class DeleteAPI(FindInstance, AbstractBaseAPI): def delete(self, *args, **kwargs): self.destroy(*args, **kwargs) return self.render_to_response("", 204)