#NEWLINE# def remove( request ) : #NEWLINE# #INDENT# metrics = set ( request . POST [ 'metrics' ] . split ( ) ) #NEWLINE# whitelist = load_whitelist ( ) #NEWLINE# new_whitelist = ( whitelist - metrics ) #NEWLINE# save_whitelist ( request ) #NEWLINE# return HttpResponse ( mimetype = 'text/plain' , content = 'OK' )