skip to navigation
skip to content

django-filters-mixin 0.1.4

django-filter meets django-pagination


Simple integration between django-filter and pagination


You must have django-filter installed and configured, see the django-filter documentation for details and setup instructions.


pip install django-filters-mixin


The FilterMixin allows to use pagination together with filtering


import django_filters
from filters.views import FilterMixin

class CustomFilterSet(django_filters.FilterSet):
    # read

class CustomFilterView(FilterMixin, django_filters.views.FilterView):
    filterset_class = CustomFilterSet
    paginate_by = 12

Please see example application. This application is used to manually test the functionalities of this package. This also serves as good example…

You need Django 1.4 or above to run that. It might run on older versions but that is not tested.

File Type Py Version Uploaded on Size
django-filters-mixin-0.1.4.tar.gz (md5, pgp) Source 2016-10-14 3KB
django_filters_mixin-0.1.4-py2.py3-none-any.whl (md5, pgp) Python Wheel 2.7 2016-10-14 4KB