Fix minor typo w/ FloatField

This commit is contained in:
Harry Marr 2012-06-08 19:24:10 +02:00
parent 1fdc7ce6bb
commit 5bb63f645b

View File

@ -182,7 +182,7 @@ class FloatField(BaseField):
if isinstance(value, int):
value = float(value)
if not isinstance(value, float):
self.error('FoatField only accepts float values')
self.error('FloatField only accepts float values')
if self.min_value is not None and value < self.min_value:
self.error('Float value is too small')