#NEWLINE# def destroy( self , request , * args , **kwargs ) : #NEWLINE# #INDENT# worker_skill = get_object_or_404 ( request . queryset , worker = request . user . userprofile . worker , skill = kwargs [ 'pk' ] ) #NEWLINE# worker_skill . delete ( ) #NEWLINE# return Response ( { #NEWLINE# #INDENT# 'status' : 'Deleted WorkerSkill' , #NEWLINE# #UNINDENT# } )