aboutsummaryrefslogtreecommitdiffstats
path: root/docs/api-guide
diff options
context:
space:
mode:
authorTom Christie2013-05-20 00:53:40 -0700
committerTom Christie2013-05-20 00:53:40 -0700
commitee543e465fb7fbca4e718e579c2e5669c5b23977 (patch)
treee2740a0ab86581244bb8d1ed52929e9f72db7760 /docs/api-guide
parent7c945b43f05f1b340f78c23f80c8043937c7fd2a (diff)
parent4c85829cb7771216a7ca4b336ca1c346585d3705 (diff)
downloaddjango-rest-framework-ee543e465fb7fbca4e718e579c2e5669c5b23977.tar.bz2
Merge pull request #872 from Neamar/master
Removed typo from documentation
Diffstat (limited to 'docs/api-guide')
-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 a710ad7d..8226aa42 100644
--- a/docs/api-guide/filtering.md
+++ b/docs/api-guide/filtering.md
@@ -87,7 +87,7 @@ The default filter backends may be set globally, using the `DEFAULT_FILTER_BACKE
'DEFAULT_FILTER_BACKENDS': ('rest_framework.filters.DjangoFilterBackend',)
}
-You can also set the authentication policy on a per-view, or per-viewset basis,
+You can also set the filter backends on a per-view, or per-viewset basis,
using the `GenericAPIView` class based views.
class UserListView(generics.ListAPIView):
@@ -216,7 +216,7 @@ For more details, see the [Django documentation][search-django-admin].
## OrderingFilter
-The `OrderingFilter` class supports simple query parameter controlled ordering of results. To specify the result order, set a query parameter named `'order'` to the required field name. For example:
+The `OrderingFilter` class supports simple query parameter controlled ordering of results. To specify the result order, set a query parameter named `'ordering'` to the required field name. For example:
http://example.com/api/users?ordering=username