#NEWLINE# def prepare_checkbox_multiple( self , field ) : #NEWLINE# #INDENT# field_attrs = field . build_field_attrs ( ) #NEWLINE# widget_attrs = field . build_widget_attrs ( ) #NEWLINE# field_attrs . update ( { #NEWLINE# #INDENT# 'widget' : forms . CheckboxSelectMultiple ( attrs = widget_attrs ) , #NEWLINE# 'choices' : field . get_choices ( ) , #NEWLINE# #UNINDENT# } ) #NEWLINE# if field . initial : #NEWLINE# #INDENT# field_attrs . update ( { #NEWLINE# #INDENT# 'initial' : self . split_choices ( field . initial ) , #NEWLINE# #UNINDENT# } ) #NEWLINE# #UNINDENT# return forms . MultipleChoiceField ( ** field_attrs )