#NEWLINE# def get_user_from_GET_param( request , param_name ) : #NEWLINE# #INDENT# token = request . GET . get ( param_name ) #NEWLINE# try : #NEWLINE# #INDENT# return APIKey . objects . get ( token = token ) . user #NEWLINE# #UNINDENT# except APIKey . DoesNotExist : #NEWLINE# #INDENT# pass