#NEWLINE# def get_first_link( self , display_page_query_param = True ) : #NEWLINE# #INDENT# url = self . request . build_absolute_uri ( ) #NEWLINE# if display_page_query_param : #NEWLINE# #INDENT# page_number = self . page . paginator . validate_number ( 1 ) #NEWLINE# return replace_query_param ( url , self . page_query_param , page_number ) #NEWLINE# #UNINDENT# else : #NEWLINE# #INDENT# return remove_query_param ( url , self . page_query_param )