| 1 |
============ |
| 2 |
Installation |
| 3 |
============ |
| 4 |
|
| 5 |
Django-filter can be installed from PyPI with tools like ``pip``: |
| 6 |
|
| 7 |
.. code-block:: bash |
| 8 |
|
| 9 |
$ pip install django-filter |
| 10 |
|
| 11 |
Then add ``'django_filters'`` to your ``INSTALLED_APPS``. |
| 12 |
|
| 13 |
.. code-block:: python |
| 14 |
|
| 15 |
INSTALLED_APPS = [ |
| 16 |
... |
| 17 |
'django_filters', |
| 18 |
] |
| 19 |
|
| 20 |
|
| 21 |
Requirements |
| 22 |
------------ |
| 23 |
|
| 24 |
Django-filter requires a current version of `Django`__ and is tested against |
| 25 |
all supported versions of Python, as well as the latest version of Django REST |
| 26 |
Framework (`DRF`__). |
| 27 |
|
| 28 |
__ https://www.djangoproject.com/download/#supported-versions |
| 29 |
__ http://www.django-rest-framework.org/ |