You must have django-filter installed and configured, see the django-filter documentation for details and setup instructions.
pip install django-filters-mixin
FilterMixin allows to use pagination together with filtering
# views.py import django_filters from filters.views import FilterMixin class CustomFilterSet(django_filters.FilterSet): # read https://github.com/alex/django-filter#usage ... class CustomFilterView(FilterMixin, django_filters.views.FilterView): filterset_class = CustomFilterSet paginate_by = 12 ...
example application. This application is used to
manually test the functionalities of this package. This also serves as
You need Django 1.4 or above to run that. It might run on older versions but that is not tested.