diff options
| author | Rob Romano | 2012-11-13 16:49:13 -0800 |
|---|---|---|
| committer | Rob Romano | 2012-11-14 12:51:00 -0800 |
| commit | 321ba156ca45da8a4b3328c4aec6a9235f32e5f8 (patch) | |
| tree | 51bdbb438943c052cc4c7ef702e4b78cb721498a /rest_framework/tests/authentication.py | |
| parent | eb20b5663e68ce01453eeb855922874001f42d0f (diff) | |
| download | django-rest-framework-321ba156ca45da8a4b3328c4aec6a9235f32e5f8.tar.bz2 | |
Renamed AuthTokenView to ObtainAuthToken, added obtain_auth_token var, updated tests & docs. Left authtoken.urls in place as example.
Diffstat (limited to 'rest_framework/tests/authentication.py')
| -rw-r--r-- | rest_framework/tests/authentication.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/rest_framework/tests/authentication.py b/rest_framework/tests/authentication.py index cb16ef1e..96ca9f52 100644 --- a/rest_framework/tests/authentication.py +++ b/rest_framework/tests/authentication.py @@ -27,7 +27,7 @@ MockView.authentication_classes += (TokenAuthentication,) urlpatterns = patterns('', (r'^$', MockView.as_view()), - (r'^auth-token/', include('rest_framework.authtoken.urls')), + (r'^auth-token/', 'rest_framework.authtoken.views.obtain_auth_token'), ) |
