Skip to content

Commit bf8fd76

Browse files
ppk42Peter Paul Kiefer
and
Peter Paul Kiefer
authored
fixed broken links to graphene filter documentation (master->main) (#1309)
Co-authored-by: Peter Paul Kiefer <[email protected]>
1 parent 775644b commit bf8fd76

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

docs/filtering.rst

+4-4
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,8 @@ Filtering
22
=========
33

44
Graphene integrates with
5-
`django-filter <https://django-filter.readthedocs.io/en/master/>`__ to provide filtering of results.
6-
See the `usage documentation <https://django-filter.readthedocs.io/en/master/guide/usage.html#the-filter>`__
5+
`django-filter <https://django-filter.readthedocs.io/en/main/>`__ to provide filtering of results.
6+
See the `usage documentation <https://django-filter.readthedocs.io/en/main/guide/usage.html#the-filter>`__
77
for details on the format for ``filter_fields``.
88

99
This filtering is automatically available when implementing a ``relay.Node``.
@@ -34,7 +34,7 @@ Filterable fields
3434
The ``filter_fields`` parameter is used to specify the fields which can
3535
be filtered upon. The value specified here is passed directly to
3636
``django-filter``, so see the `filtering
37-
documentation <https://django-filter.readthedocs.io/en/master/guide/usage.html#the-filter>`__
37+
documentation <https://django-filter.readthedocs.io/en/main/guide/usage.html#the-filter>`__
3838
for full details on the range of options available.
3939

4040
For example:
@@ -192,7 +192,7 @@ in unison with the ``filter_fields`` parameter:
192192
all_animals = DjangoFilterConnectionField(AnimalNode)
193193
194194
195-
The context argument is passed on as the `request argument <http://django-filter.readthedocs.io/en/master/guide/usage.html#request-based-filtering>`__
195+
The context argument is passed on as the `request argument <http://django-filter.readthedocs.io/en/main/guide/usage.html#request-based-filtering>`__
196196
in a ``django_filters.FilterSet`` instance. You can use this to customize your
197197
filters to be context-dependent. We could modify the ``AnimalFilter`` above to
198198
pre-filter animals owned by the authenticated user (set in ``context.user``).

0 commit comments

Comments
 (0)