rpkilby / django-filter

A generic system for filtering Django QuerySets based on user selections
https://django-filter.readthedocs.org
Other
0 stars 1 forks source link

Document EMPTY_VALUES in relation to filter method #20

Closed rpkilby closed 4 years ago

rpkilby commented 4 years ago

Filter methods do not automatically filter out empty values, and users will probably want to check against EMPTY_VALUES.

See: https://github.com/carltongibson/django-filter/pull/788#issuecomment-617983209

rpkilby commented 4 years ago

I was wrong - the __call__ method does actually check against empty values.