#NEWLINE# @ csrf_exempt #NEWLINE# def save_to_cliboard( request ) : #NEWLINE# #INDENT# object = LogsClipboard ( name = request . POST [ 'name' ] , notes = request . POST [ 'notes' ] , logs = request . POST [ 'logs' ] , log_file = LogFile . objects . get ( id = int ( request . POST [ 'file' ] ) ) ) #NEWLINE# object . save ( ) #NEWLINE# return HttpResponse ( _ ( 'loglines_saved' ) , mimetype = 'text/html' )