#NEWLINE# def prepare_phone( self , field ) : #NEWLINE# #INDENT# field_attrs = field . build_field_attrs ( ) #NEWLINE# widget_attrs = field . build_widget_attrs ( ) #NEWLINE# field_attrs . update ( { #NEWLINE# #INDENT# 'widget' : TelephoneInput ( attrs = widget_attrs ) , #NEWLINE# #UNINDENT# } ) #NEWLINE# return forms . CharField ( ** field_attrs )