Skip to content

Commit f676569

Browse files
committed
Small documentation fixes
* Remove "you you" from viewsets API-guide * Fix link from routers API-guide to viewsets API-guide
1 parent 67933d6 commit f676569

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

docs/api-guide/routers.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -304,7 +304,7 @@ The [wq.db package][wq.db] provides an advanced [Router][wq.db-router] class (an
304304
The [`DRF-extensions` package][drf-extensions] provides [routers][drf-extensions-routers] for creating [nested viewsets][drf-extensions-nested-viewsets], [collection level controllers][drf-extensions-collection-level-controllers] with [customizable endpoint names][drf-extensions-customizable-endpoint-names].
305305

306306
[cite]: http://guides.rubyonrails.org/routing.html
307-
[route-decorators]: viewsets.html#marking-extra-actions-for-routing
307+
[route-decorators]: viewsets.md#marking-extra-actions-for-routing
308308
[drf-nested-routers]: https://github.com/alanjds/drf-nested-routers
309309
[wq.db]: http://wq.io/wq.db
310310
[wq.db-router]: http://wq.io/docs/app.py

docs/api-guide/viewsets.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -201,7 +201,7 @@ Note that you can use any of the standard attributes or method overrides provide
201201
def get_queryset(self):
202202
return self.request.user.accounts.all()
203203

204-
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].
204+
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].
205205

206206
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.
207207

0 commit comments

Comments
 (0)