예제 #1
0
파일: views.py 프로젝트: truonglx1/lms
 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)
예제 #2
0
파일: views.py 프로젝트: ahmadiga/min_edx
 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)