aboutsummaryrefslogtreecommitdiffstats
path: root/docs/api-guide/authentication.md
diff options
context:
space:
mode:
authorTom Christie2013-03-05 14:02:58 +0000
committerTom Christie2013-03-05 14:03:28 +0000
commit6c2dbf12208287c6ff81a312db4c4bf7817ca632 (patch)
tree1d1c07bad284761fba52ade98d4e51317c6bd81b /docs/api-guide/authentication.md
parentd263abbf4d6c0852da0e59433b7aa02cd4594aa4 (diff)
downloaddjango-rest-framework-6c2dbf12208287c6ff81a312db4c4bf7817ca632.tar.bz2
Minor docs tweak
Diffstat (limited to 'docs/api-guide/authentication.md')
-rw-r--r--docs/api-guide/authentication.md7
1 files changed, 6 insertions, 1 deletions
diff --git a/docs/api-guide/authentication.md b/docs/api-guide/authentication.md
index 80d29ff4..38cf6a7d 100644
--- a/docs/api-guide/authentication.md
+++ b/docs/api-guide/authentication.md
@@ -113,7 +113,12 @@ Unauthenticated responses that are denied permission will result in an `HTTP 401
This authentication scheme uses a simple token-based HTTP Authentication scheme. Token authentication is appropriate for client-server setups, such as native desktop and mobile clients.
-To use the `TokenAuthentication` scheme, include `rest_framework.authtoken` in your `INSTALLED_APPS` setting.
+To use the `TokenAuthentication` scheme, include `rest_framework.authtoken` in your `INSTALLED_APPS` setting:
+
+ INSTALLED_APPS = (
+ ...
+ 'rest_framework.authtoken'
+ )
You'll also need to create tokens for your users.