Installation

Django-filter can be installed from PyPI with tools like pip:

$ pip install django-filter

Then add 'django_filters' to your INSTALLED_APPS.

INSTALLED_APPS = [
    ...
    'django_filters',
]

Requirements

Django-filter is tested against all supported versions of Python and Django, as well as the latest version of Django REST Framework (DRF).

  • Python: 3.4, 3.5, 3.6, 3.7

  • Django: 1.11, 2.0, 2.1, 2.2

  • DRF: 3.8+