aboutsummaryrefslogtreecommitdiffstats
path: root/rest_framework/urls.py
diff options
context:
space:
mode:
authorCarlton Gibson2014-09-01 10:07:05 +0200
committerCarlton Gibson2014-09-01 10:07:05 +0200
commit1c9c5d5c32656231acf5f14b5231f9274a2eb254 (patch)
tree587509bfe8065b76fd6bd6ffaa3b3ecec71050c8 /rest_framework/urls.py
parentf777a73bc7987330c69c18bd37634942a67f4e74 (diff)
downloaddjango-rest-framework-1c9c5d5c32656231acf5f14b5231f9274a2eb254.tar.bz2
Regression for #1810: Test login view renders
Diffstat (limited to 'rest_framework/urls.py')
-rw-r--r--rest_framework/urls.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/rest_framework/urls.py b/rest_framework/urls.py
index 8fa3073e..cfcee534 100644
--- a/rest_framework/urls.py
+++ b/rest_framework/urls.py
@@ -6,7 +6,7 @@ your API requires authentication:
urlpatterns = patterns('',
...
- url(r'^auth', include('rest_framework.urls', namespace='rest_framework'))
+ url(r'^auth/', include('rest_framework.urls', namespace='rest_framework'))
)
The urls must be namespaced as 'rest_framework', and you should make sure