From aa378f5af71828ef48178d3bf7e3a024d74cf6d5 Mon Sep 17 00:00:00 2001 From: Roy Segall Date: Sat, 11 Apr 2020 12:12:10 +0300 Subject: [PATCH] Adding documentation for installing django-filter --- docs/filtering.rst | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) diff --git a/docs/filtering.rst b/docs/filtering.rst index 6fe7cab..0d37f46 100644 --- a/docs/filtering.rst +++ b/docs/filtering.rst @@ -14,8 +14,17 @@ You will need to install it manually, which can be done as follows: .. code:: bash - # You'll need to django-filter + # You'll need to install django-filter pip install django-filter>=2 + +After installing ``django-filter`` you'll need to add the application in the ``settings.py`` file: + +.. code:: python + + INSTALLED_APPS = [ + # ... + "django_filters", + ] Note: The techniques below are demoed in the `cookbook example app `__.