aboutsummaryrefslogtreecommitdiffstats
path: root/docs/api-guide/authentication.md
diff options
context:
space:
mode:
authorXavier Ordoquy2012-12-02 12:43:32 +0100
committerXavier Ordoquy2012-12-02 12:43:32 +0100
commit5fad46d7e213afed503b1533515cab96875a5936 (patch)
tree72ab362e86a83ba53361613dbb1e7863889ea749 /docs/api-guide/authentication.md
parentfa53dde576c8733292eacf27c80cf7a0ad222c3b (diff)
parent3114b4fa50e7aee296a0de17e7bcdc0753700ec3 (diff)
downloaddjango-rest-framework-5fad46d7e213afed503b1533515cab96875a5936.tar.bz2
Merge remote-tracking branch 'reference/master' into p3k
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 8ed6ef31..43fc15d2 100644
--- a/docs/api-guide/authentication.md
+++ b/docs/api-guide/authentication.md
@@ -116,7 +116,7 @@ When using `TokenAuthentication`, you may want to provide a mechanism for client
REST framework provides a built-in view to provide this behavior. To use it, add the `obtain_auth_token` view to your URLconf:
urlpatterns += patterns('',
- url(r'^api-token-auth/', 'rest_framework.authtoken.obtain_auth_token')
+ url(r'^api-token-auth/', 'rest_framework.authtoken.views.obtain_auth_token')
)
Note that the URL part of the pattern can be whatever you want to use.