#NEWLINE# def step2_form_factory( mixin_cls , entry_form_class , attrs = None ) : #NEWLINE# #INDENT# '\n    Combines a form mixin with a form class, sets attrs to the resulting class.\n    This is used to provide a common behavior/logic for all wizard content\n    forms.\n    ' #NEWLINE# if ( attrs is None ) : #NEWLINE# #INDENT# attrs = { #NEWLINE# #INDENT# #NEWLINE# #UNINDENT# } #NEWLINE# #UNINDENT# class_name = 'WizardStep2Form' #NEWLINE# meta_class = type ( entry_form_class ) #NEWLINE# FormClass = meta_class ( class_name , ( mixin_cls , entry_form_class ) , attrs ) #NEWLINE# return FormClass