#NEWLINE# def get_field_options( self , **kw ) : #NEWLINE# #INDENT# kw = FieldElement . get_field_options ( self , ** kw ) #NEWLINE# if self . field . decimal_places : #NEWLINE# #INDENT# kw . update ( decimalPrecision = kw . field . decimal_places ) #NEWLINE# kw . update ( decimalSeparator = settings . SITE . decimal_separator ) #NEWLINE# #UNINDENT# else : #NEWLINE# #INDENT# kw . update ( allowDecimals = False ) #NEWLINE# #UNINDENT# if self . editable : #NEWLINE# #INDENT# kw . update ( allowBlank = self . field . blank ) #NEWLINE# #UNINDENT# return kw