mirror of
https://github.com/graphql-python/graphene-django.git
synced 2025-06-14 18:43:15 +03:00
Adding documentation for installing django-filter (#928)
This commit is contained in:
parent
613e1e31f4
commit
3483428f70
|
@ -14,8 +14,17 @@ You will need to install it manually, which can be done as follows:
|
||||||
|
|
||||||
.. code:: bash
|
.. code:: bash
|
||||||
|
|
||||||
# You'll need to django-filter
|
# You'll need to install django-filter
|
||||||
pip install django-filter>=2
|
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
|
Note: The techniques below are demoed in the `cookbook example
|
||||||
app <https://github.com/graphql-python/graphene-django/tree/master/examples/cookbook>`__.
|
app <https://github.com/graphql-python/graphene-django/tree/master/examples/cookbook>`__.
|
||||||
|
|
Loading…
Reference in New Issue
Block a user