#NEWLINE# @ csrf_exempt #NEWLINE# def form_data( request , test_case ) : #NEWLINE# #INDENT# if ( 'simple' in request . POST ) : #NEWLINE# #INDENT# if ( request . POST [ 'simple' ] == 'SIMPLE_VALUE' ) : #NEWLINE# #INDENT# return redirect ( '/static/site_generic/event_main.html' ) #NEWLINE# #UNINDENT# #UNINDENT# if ( 'page' in request . POST ) : #NEWLINE# #INDENT# if ( request . POST [ 'page' ] == '1' ) : #NEWLINE# #INDENT# return redirect ( '/static/site_generic/event_main1.html' ) #NEWLINE# #UNINDENT# if ( request . POST [ 'page' ] == '2' ) : #NEWLINE# #INDENT# return redirect ( '/static/site_generic/event_main2.html' ) #NEWLINE# #UNINDENT# #UNINDENT# return HttpResponse ( 'Form data not found!' )