#NEWLINE# def bind_to_model( self , model ) : #NEWLINE# #INDENT# return type ( str ( '_ObjectList' ) , ( BaseObjectList , ) , { #NEWLINE# #INDENT# 'model' : model , #NEWLINE# 'children' : [ child . bind_to_model ( model ) for child in self . children ] , #NEWLINE# 'heading' : self . heading , #NEWLINE# 'classname' : self . classname , #NEWLINE# 'base_form_class' : self . base_form_class , #NEWLINE# #UNINDENT# } )