aboutsummaryrefslogtreecommitdiffstats
path: root/docs/api-guide/authentication.md
diff options
context:
space:
mode:
authorBruno ReniƩ2013-01-20 14:49:07 +0100
committerBruno ReniƩ2013-01-20 14:49:07 +0100
commit9b9b6529bcf3c3f39abf398597684962e5710e57 (patch)
tree80750bdf44abe711bc9efe0f21bf911c03d2b121 /docs/api-guide/authentication.md
parent771821af7d8eb6751d6ea37eabae7108cebc0df0 (diff)
downloaddjango-rest-framework-9b9b6529bcf3c3f39abf398597684962e5710e57.tar.bz2
Fixed reference to authtoken in the docs
Diffstat (limited to 'docs/api-guide/authentication.md')
-rw-r--r--docs/api-guide/authentication.md2
1 files changed, 1 insertions, 1 deletions
diff --git a/docs/api-guide/authentication.md b/docs/api-guide/authentication.md
index c0f9c072..1b56cf44 100644
--- a/docs/api-guide/authentication.md
+++ b/docs/api-guide/authentication.md
@@ -102,7 +102,7 @@ For clients to authenticate, the token key should be included in the `Authorizat
If successfully authenticated, `TokenAuthentication` provides the following credentials.
* `request.user` will be a Django `User` instance.
-* `request.auth` will be a `rest_framework.tokenauth.models.BasicToken` instance.
+* `request.auth` will be a `rest_framework.authtoken.models.BasicToken` instance.
**Note:** If you use `TokenAuthentication` in production you must ensure that your API is only available over `https` only.