aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRob Romano2012-11-13 17:03:10 -0800
committerRob Romano2012-11-13 17:03:10 -0800
commit8ebbae683bcdb1b70711df8e0cfaad760c4e8fd0 (patch)
treee6943242a36b94a5c03e0c750a261790fa46c70f
parent4fd590f96f77eae433f1d5de281ed95f5a003745 (diff)
downloaddjango-rest-framework-8ebbae683bcdb1b70711df8e0cfaad760c4e8fd0.tar.bz2
Removed authtoken/urls.py, not really needed with Tom's simplification
-rw-r--r--rest_framework/authtoken/urls.py20
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'),
-)