def convert_RatingProperty(model, prop, kwargs):
 kwargs['validators'].append(validators.NumberRange(min=0, max=100))
 return f.IntegerField(**kwargs)

def convert_RatingProperty ( model , prop , kwargs ) : kwargs [ 'validators' ] . append ( validators . NumberRange ( min = 0 , max = 100 ) ) return f . IntegerField ( ** kwargs )
returns a form field for a db .