#NEWLINE# @ any_permission_required ( [ ( 'Admin' , '%' ) , ( 'AdminTools' , 'View' ) , ( 'ReviewerAdminTools' , 'View' ) , ( 'BulkValidationAdminTools' , 'View' ) ] ) #NEWLINE# @ transaction . non_atomic_requests #NEWLINE# def start_validation( request ) : #NEWLINE# #INDENT# form = BulkValidationForm ( request . POST ) #NEWLINE# if form . is_valid ( ) : #NEWLINE# #INDENT# job = form . save ( commit = False ) #NEWLINE# job . creator = get_user ( ) #NEWLINE# job . save ( ) #NEWLINE# find_files ( job ) #NEWLINE# return redirect ( reverse ( 'zadmin.validation' ) ) #NEWLINE# #UNINDENT# else : #NEWLINE# #INDENT# return validation ( job , form = form )