#NEWLINE# def to_python( self , value ) : #NEWLINE# #INDENT# if ( self . fixed_digits and ( len ( value ) != self . fixed_digits ) ) : #NEWLINE# #INDENT# raise Http404 ( ) #NEWLINE# #UNINDENT# value = self . num_convert ( value ) #NEWLINE# if ( ( ( self . min is not None ) and ( value < self . min ) ) or ( ( self . max is not None ) and ( value > self . max ) ) ) : #NEWLINE# #INDENT# raise Http404 ( ) #NEWLINE# #UNINDENT# return value