#NEWLINE# def view_events( request ) : #NEWLINE# #INDENT# if ( request . method == 'GET' ) : #NEWLINE# #INDENT# context = { #NEWLINE# #INDENT# 'events' : fetch ( request ) , #NEWLINE# 'slash' : get_script_prefix ( ) , #NEWLINE# #UNINDENT# } #NEWLINE# return render_to_response ( 'events.html' , context ) #NEWLINE# #UNINDENT# else : #NEWLINE# #INDENT# return post_event ( request )