Skip to content

Commit 3483428

Browse files
authored
Adding documentation for installing django-filter (#928)
1 parent 613e1e3 commit 3483428

File tree

1 file changed

+10
-1
lines changed

1 file changed

+10
-1
lines changed

docs/filtering.rst

Lines changed: 10 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,8 +14,17 @@ You will need to install it manually, which can be done as follows:
1414

1515
.. code:: bash
1616
17-
# You'll need to django-filter
17+
# You'll need to install django-filter
1818
pip install django-filter>=2
19+
20+
After installing ``django-filter`` you'll need to add the application in the ``settings.py`` file:
21+
22+
.. code:: python
23+
24+
INSTALLED_APPS = [
25+
# ...
26+
"django_filters",
27+
]
1928
2029
Note: The techniques below are demoed in the `cookbook example
2130
app <https://github.com/graphql-python/graphene-django/tree/master/examples/cookbook>`__.

0 commit comments

Comments
 (0)