diff options
| author | Tom Christie | 2012-02-21 22:50:41 +0000 |
|---|---|---|
| committer | Tom Christie | 2012-02-21 22:50:41 +0000 |
| commit | 66eabe8bd1a539f92c3d677565d69edc29a1721b (patch) | |
| tree | 60c5d2f5cdba605e73545ae21d94fcf809a39788 /djangorestframework/tests/oauthentication.py | |
| parent | b074754b54adf172cd2d102e2a326a7f322cf2ef (diff) | |
| download | django-rest-framework-66eabe8bd1a539f92c3d677565d69edc29a1721b.tar.bz2 | |
Remove staticviews. Use standard login/logout
Diffstat (limited to 'djangorestframework/tests/oauthentication.py')
| -rw-r--r-- | djangorestframework/tests/oauthentication.py | 2 |
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')), ) |
