diff options
| author | Tom Christie | 2014-12-13 07:56:57 +0000 |
|---|---|---|
| committer | Tom Christie | 2014-12-13 07:56:57 +0000 |
| commit | eb78da4b5441bec1758e7d6db86822b3ea890f5f (patch) | |
| tree | c4fb3cbfc6ec76b40dbb8e2b5de99c97df3c5a71 | |
| parent | fd473aa905337908b41c9a1087967a19f0558f89 (diff) | |
| parent | 00da2414827987e9934ebe7bf2f9a3afea1cdb13 (diff) | |
| download | django-rest-framework-eb78da4b5441bec1758e7d6db86822b3ea890f5f.tar.bz2 | |
Merge pull request #2265 from jfw/patch-2
documentation typo
| -rw-r--r-- | docs/api-guide/routers.md | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/docs/api-guide/routers.md b/docs/api-guide/routers.md index 080230fa..929a1710 100644 --- a/docs/api-guide/routers.md +++ b/docs/api-guide/routers.md @@ -41,7 +41,7 @@ The example above would generate the following URL patterns: **Note**: The `base_name` argument is used to specify the initial part of the view name pattern. In the example above, that's the `user` or `account` part. -Typically you won't *need* to specify the `base-name` argument, but if you have a viewset where you've defined a custom `get_queryset` method, then the viewset may not have a `.queryset` attribute set. If you try to register that viewset you'll see an error like this: +Typically you won't *need* to specify the `base_name` argument, but if you have a viewset where you've defined a custom `get_queryset` method, then the viewset may not have a `.queryset` attribute set. If you try to register that viewset you'll see an error like this: 'base_name' argument not specified, and could not automatically determine the name from the viewset, as it does not have a '.queryset' attribute. |
