Fix minor typo w/ FloatField
This commit is contained in:
parent
1fdc7ce6bb
commit
5bb63f645b
1 changed files with 1 additions and 1 deletions
|
|
@ -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')
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue