aboutsummaryrefslogtreecommitdiffstats
path: root/djangorestframework/urls.py
diff options
context:
space:
mode:
Diffstat (limited to 'djangorestframework/urls.py')
-rw-r--r--djangorestframework/urls.py23
1 files changed, 0 insertions, 23 deletions
diff --git a/djangorestframework/urls.py b/djangorestframework/urls.py
deleted file mode 100644
index e446c396..00000000
--- a/djangorestframework/urls.py
+++ /dev/null
@@ -1,23 +0,0 @@
-"""
-Login and logout views for the browseable API.
-
-Add these to your root URLconf if you're using the browseable API and
-your API requires authentication.
-
-The urls must be namespaced as 'djangorestframework', and you should make sure
-your authentication settings include `SessionAuthentication`.
-
- urlpatterns = patterns('',
- ...
- url(r'^auth', include('djangorestframework.urls', namespace='djangorestframework'))
- )
-"""
-from django.conf.urls.defaults import patterns, url
-
-
-template_name = {'template_name': 'djangorestframework/login.html'}
-
-urlpatterns = patterns('django.contrib.auth.views',
- url(r'^login/$', 'login', template_name, name='login'),
- url(r'^logout/$', 'logout', template_name, name='logout'),
-)