aboutsummaryrefslogtreecommitdiffstats
path: root/djangorestframework/tests/oauthentication.py
diff options
context:
space:
mode:
authorTom Christie2012-02-21 22:50:41 +0000
committerTom Christie2012-02-21 22:50:41 +0000
commit66eabe8bd1a539f92c3d677565d69edc29a1721b (patch)
tree60c5d2f5cdba605e73545ae21d94fcf809a39788 /djangorestframework/tests/oauthentication.py
parentb074754b54adf172cd2d102e2a326a7f322cf2ef (diff)
downloaddjango-rest-framework-66eabe8bd1a539f92c3d677565d69edc29a1721b.tar.bz2
Remove staticviews. Use standard login/logout
Diffstat (limited to 'djangorestframework/tests/oauthentication.py')
-rw-r--r--djangorestframework/tests/oauthentication.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/djangorestframework/tests/oauthentication.py b/djangorestframework/tests/oauthentication.py
index b4bcf2fa..29f2c44e 100644
--- a/djangorestframework/tests/oauthentication.py
+++ b/djangorestframework/tests/oauthentication.py
@@ -27,7 +27,7 @@ else:
urlpatterns = patterns('',
url(r'^$', oauth_required(ClientView.as_view())),
url(r'^oauth/', include('oauth_provider.urls')),
- url(r'^accounts/login/$', 'djangorestframework.utils.staticviews.api_login'),
+ url(r'^restframework/', include('djangorestframework.urls', namespace='djangorestframework')),
)