#NEWLINE# def parse_req( request , ip = None ) : #NEWLINE# #INDENT# kwargs = get_kwargs_for_model ( Request , request , exclude = [ 'os' , 'hw' , 'created' , 'id' ] ) #NEWLINE# kwargs [ 'ip' ] = ip #NEWLINE# return Request ( ** kwargs )