#NEWLINE# def register_with_model( self , name , model ) : #NEWLINE# #INDENT# super ( StructureField , self ) . register_with_model ( self , model ) #NEWLINE# if self . relmodel : #NEWLINE# #INDENT# related . load_relmodel ( self , self . _set_relmodel ) #NEWLINE# #UNINDENT# else : #NEWLINE# #INDENT# self . _register_with_model ( )