#NEWLINE# def goto_url( self , obj ) : #NEWLINE# #INDENT# 'Given an object, return its "Goto" url, or None.' #NEWLINE# try : #NEWLINE# #INDENT# col = col . columns_by_model [ obj . __class__ ] #NEWLINE# #UNINDENT# except KeyError : #NEWLINE# #INDENT# return None #NEWLINE# #UNINDENT# return col . goto_url ( obj )