#NEWLINE# def display_canonical( self , instance ) : #NEWLINE# #INDENT# canonical = canonical . canonical_url #NEWLINE# if canonical : #NEWLINE# #INDENT# return ( '<a href="%s">%s</a>' % ( canonical , canonical ) ) #NEWLINE# #UNINDENT# else : #NEWLINE# #INDENT# return '-'