diff options
| author | Rob Romano | 2012-11-13 17:03:10 -0800 | 
|---|---|---|
| committer | Rob Romano | 2012-11-14 12:59:01 -0800 | 
| commit | 535b65a34862e1dcf6370046a37e9cd0e980f491 (patch) | |
| tree | f870e4d533c62363fb5e02a0f11572ac13c942c9 /rest_framework/authtoken | |
| parent | 321ba156ca45da8a4b3328c4aec6a9235f32e5f8 (diff) | |
| download | django-rest-framework-535b65a34862e1dcf6370046a37e9cd0e980f491.tar.bz2 | |
Removed authtoken/urls.py, not really needed with Tom's simplification
Diffstat (limited to 'rest_framework/authtoken')
| -rw-r--r-- | rest_framework/authtoken/urls.py | 20 | 
1 files changed, 0 insertions, 20 deletions
diff --git a/rest_framework/authtoken/urls.py b/rest_framework/authtoken/urls.py deleted file mode 100644 index a3419da6..00000000 --- a/rest_framework/authtoken/urls.py +++ /dev/null @@ -1,20 +0,0 @@ -""" -Login view for token authentication. - -Add this to your root URLconf if you're using token authentication -your API requires authentication. - -You should make sure your authentication settings include -`TokenAuthentication`.  - -    urlpatterns = patterns('', -        ... -        url(r'^auth-token/', 'rest_framework.authtoken.obtain_auth_token') -    ) -""" - -from django.conf.urls.defaults import patterns, url - -urlpatterns = patterns('rest_framework.authtoken.views', -    url(r'^login/$', 'rest_framework.authtoken.views.obtain_auth_token', name='token_login'), -)  | 
