Fix minor typo w/ FloatField
This commit is contained in:
@@ -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')
|
||||
|
||||
Reference in New Issue
Block a user