Skip to content

Commit 8a9f0af

Browse files
mtnntnmtnntn
authored andcommitted
Updated link to DRF SearchFilter
1 parent f0821c5 commit 8a9f0af

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

docs/usage.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -205,7 +205,7 @@ As this feature depends on `django-filter` you need to run
205205
#### SearchFilter
206206

207207
To comply with JSON:API query parameter naming standards, DRF's
208-
[SearchFilter](https://django-rest-framework.readthedocs.io/en/latest/api-guide/filtering/#searchfilter) should
208+
[SearchFilter](https://www.django-rest-framework.org/api-guide/filtering/#searchfilter) should
209209
be configured to use a `filter[_something_]` query parameter. This can be done by default by adding the
210210
SearchFilter to `REST_FRAMEWORK['DEFAULT_FILTER_BACKENDS']` and setting `REST_FRAMEWORK['SEARCH_PARAM']` or
211211
adding the `.search_param` attribute to a custom class derived from `SearchFilter`. If you do this and also

0 commit comments

Comments
 (0)