from ..fields import Field
from ..validators import validate_float

class FloatField(Field):

    # default = 0.0
    validate = validate_float

    def __init__(self, *args, **kwargs):
        super(FloatField, self).__init__(*args, **kwargs)
from . import Field
from ..validators import validate_float

class FloatField(Field):

    # default = 0.0
    validate = validate_float

    def __init__(self, *args, **kwargs):
        super(FloatField, self).__init__(*args, **kwargs)
fix import