The example in the documentation, https://django-filter.readthedocs.org/en/latest/usage.html, is I think for a function based view. I am currently researching how to do th
As mentioned in the link Viewing subsets of objects
You can use something like this is your views.py
views.py
class modelListView(someGenericView): queryset = modelName.object.filter(myFilter)