Exemplo n.º 1
0
 def destroy(self, request, thread_id):
     """
     Implements the DELETE method for the instance endpoint as described in
     the class docstring
     """
     delete_thread(request, thread_id)
     return Response(status=204)
Exemplo n.º 2
0
 def destroy(self, request, thread_id):
     """
     Implements the DELETE method for the instance endpoint as described in
     the class docstring
     """
     delete_thread(request, thread_id)
     return Response(status=204)