Fixed reference to authtoken in the docs

This commit is contained in:
Bruno Renié 2013-01-20 14:49:07 +01:00
parent 771821af7d
commit 9b9b6529bc

View File

@ -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.