#NEWLINE# def __unicode__( self ) : #NEWLINE# #INDENT# 'Render the page as a link.' #NEWLINE# context = { #NEWLINE# #INDENT# 'add_nofollow' : settings . ADD_NOFOLLOW , #NEWLINE# 'page' : self , #NEWLINE# 'querystring_key' : self . querystring_key , #NEWLINE# #UNINDENT# } #NEWLINE# if self . is_current : #NEWLINE# #INDENT# template_name = 'el_pagination/current_link.html' #NEWLINE# #UNINDENT# else : #NEWLINE# #INDENT# template_name = 'el_pagination/page_link.html' #NEWLINE# #UNINDENT# template = _template_cache . setdefault ( template , loader . get_template ( template_name ) ) #NEWLINE# return template . render ( RequestContext ( self . _request , context ) )