Closed rpkilby closed 4 years ago
Filter methods do not automatically filter out empty values, and users will probably want to check against EMPTY_VALUES.
EMPTY_VALUES
See: https://github.com/carltongibson/django-filter/pull/788#issuecomment-617983209
https://github.com/carltongibson/django-filter/pull/788#issuecomment-617983209
I was wrong - the __call__ method does actually check against empty values.
__call__
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