diff options
| author | Stephan Groß | 2012-11-28 08:01:57 -0800 |
|---|---|---|
| committer | Stephan Groß | 2012-11-28 08:01:57 -0800 |
| commit | 0a4c9f083135a0bf432478c3857efab2c7ed6ee0 (patch) | |
| tree | 9931242f6e1679296ce8a6c3ab1cc9fb73f831c1 /docs/api-guide/authentication.md | |
| parent | 11ef60b127d38341874989a40500fe3c61771d28 (diff) | |
| parent | fd383b2b5e752962242066b3587deec5820eaa2e (diff) | |
| download | django-rest-framework-0a4c9f083135a0bf432478c3857efab2c7ed6ee0.tar.bz2 | |
Merge pull request #456 from asfaltboy/fix_auth_token_docs
Fix location of obtain_auth_token view
Diffstat (limited to 'docs/api-guide/authentication.md')
| -rw-r--r-- | docs/api-guide/authentication.md | 2 |
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. |
