How to add "FloatFilter" with django-filter

  django, django-filter, python-3.x

I have a float field in my model with Django 2.2. How can I add a filter with django-filter on this field? Or a float range filter would be even better. Would be also ok if I have to change the field to a Decimal.

Thanks!

Source: Python-3x Questions

LEAVE A COMMENT