#NEWLINE# def action_url( self , widgy , tried = ( ) ) : #NEWLINE# #INDENT# assert widgy , ( 'get_form_action_url not found in any owners. Tried: %s' % ( tried , ) ) #NEWLINE# owner = widgy [ 'owner' ] #NEWLINE# if hasattr ( owner , 'get_form_action_url' ) : #NEWLINE# #INDENT# return owner . get_form_action_url ( self , widgy ) #NEWLINE# #UNINDENT# else : #NEWLINE# #INDENT# return self . action_url ( widgy [ 'parent' ] , tried = ( tried + ( owner , ) ) )