carltongibson / django-filter

A generic system for filtering Django QuerySets based on user selections
https://django-filter.readthedocs.io/en/main/
Other
4.41k stars 766 forks source link

Example snippet fix: explicit check against None #1611

Closed m2-farzan closed 9 months ago

m2-farzan commented 11 months ago

The previous script ignores any initial value that has a falsy value while the e pected behavior is to only skip them if they are not present in filter args (i.e. None value)