Example #1
0
 def destroy(self, request, comment_id):
     """
     Implements the DELETE method for the instance endpoint as described in
     the class docstring
     """
     delete_comment(request, comment_id)
     return Response(status=204)
Example #2
0
 def destroy(self, request, comment_id):
     """
     Implements the DELETE method for the instance endpoint as described in
     the class docstring
     """
     delete_comment(request, comment_id)
     return Response(status=204)