aboutsummaryrefslogtreecommitdiffstats
path: root/docs/api-guide/viewsets.md
diff options
context:
space:
mode:
authorJames Cooke2015-02-03 13:43:03 +0000
committerJames Cooke2015-02-03 13:43:03 +0000
commitf6765696610a0de3cf7d9986a2dfab40ca37e88b (patch)
tree4dae7d279a61840ca3f09b3b3991f51f55b88d71 /docs/api-guide/viewsets.md
parent67933d658e52c19f20c536a58c16c5f90c119a31 (diff)
downloaddjango-rest-framework-f6765696610a0de3cf7d9986a2dfab40ca37e88b.tar.bz2
Small documentation fixes
* Remove "you you" from viewsets API-guide * Fix link from routers API-guide to viewsets API-guide
Diffstat (limited to 'docs/api-guide/viewsets.md')
-rw-r--r--docs/api-guide/viewsets.md2
1 files changed, 1 insertions, 1 deletions
diff --git a/docs/api-guide/viewsets.md b/docs/api-guide/viewsets.md
index b09dfc9e..bbf92c6c 100644
--- a/docs/api-guide/viewsets.md
+++ b/docs/api-guide/viewsets.md
@@ -201,7 +201,7 @@ Note that you can use any of the standard attributes or method overrides provide
def get_queryset(self):
return self.request.user.accounts.all()
-Note however that upon removal of the `queryset` property from your `ViewSet`, any associated [router][routers] will be unable to derive the base_name of your Model automatically, and so you you will have to specify the `base_name` kwarg as part of your [router registration][routers].
+Note however that upon removal of the `queryset` property from your `ViewSet`, any associated [router][routers] will be unable to derive the base_name of your Model automatically, and so you will have to specify the `base_name` kwarg as part of your [router registration][routers].
Also note that although this class provides the complete set of create/list/retrieve/update/destroy actions by default, you can restrict the available operations by using the standard permission classes.