aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTom Christie2013-09-23 07:48:58 -0700
committerTom Christie2013-09-23 07:48:58 -0700
commit0e58d4c74fb10b0fba90ae74bf3de5bca98cf608 (patch)
tree0da584ffe7acaaa489182f489ec13d12d6b083ba
parent97dd78d88c4a62dd68041cda9e3031764f3e77bf (diff)
parentfda0c520bd3fb81c7eec06da70bb7abfed519d93 (diff)
downloaddjango-rest-framework-0e58d4c74fb10b0fba90ae74bf3de5bca98cf608.tar.bz2
Merge pull request #1125 from gkapkowski/patch-1
Match docs to current code.
-rw-r--r--docs/api-guide/filtering.md4
1 files changed, 2 insertions, 2 deletions
diff --git a/docs/api-guide/filtering.md b/docs/api-guide/filtering.md
index 859e8d52..784aa585 100644
--- a/docs/api-guide/filtering.md
+++ b/docs/api-guide/filtering.md
@@ -195,9 +195,9 @@ For more details on using filter sets see the [django-filter documentation][djan
## SearchFilter
-The `SearchFilterBackend` class supports simple single query parameter based searching, and is based on the [Django admin's search functionality][search-django-admin].
+The `SearchFilter` class supports simple single query parameter based searching, and is based on the [Django admin's search functionality][search-django-admin].
-The `SearchFilterBackend` class will only be applied if the view has a `search_fields` attribute set. The `search_fields` attribute should be a list of names of text type fields on the model, such as `CharField` or `TextField`.
+The `SearchFilter` class will only be applied if the view has a `search_fields` attribute set. The `search_fields` attribute should be a list of names of text type fields on the model, such as `CharField` or `TextField`.
class UserListView(generics.ListAPIView):
queryset = User.objects.all()