def widget_attrs(self, widget):
        attrs = super(FloatField, self).widget_attrs(widget)
        if isinstance(widget, NumberInput) and 'step' not in widget.attrs:
            attrs.setdefault('step', 'any')
        return attrs
dataset/ETHPy150Open django/django/django/forms/fields.py/FloatField.widget_attrs/original