#NEWLINE# def verify_url( self , user = None , from_date = None ) : #NEWLINE# #INDENT# user = ( user or self . user ) #NEWLINE# from_date = ( from_date or self . from_date ) #NEWLINE# base_url = reverse ( 'change_user_timesheet' , args = ( user . pk , 'verify' ) ) #NEWLINE# params = { #NEWLINE# #INDENT# 'from_date' : from_date . strftime ( '%Y-%m-%d' ) , #NEWLINE# #UNINDENT# } #NEWLINE# params = urlencode ( params ) #NEWLINE# return '{0}?{1}' . format ( base_url , self )