aboutsummaryrefslogtreecommitdiffstats
path: root/rest_framework/urls.py
diff options
context:
space:
mode:
authorCarlton Gibson2014-09-01 10:31:07 +0200
committerCarlton Gibson2014-09-01 10:31:07 +0200
commit14877464f66600ab89567f846cfd98c7200437e9 (patch)
tree542293e19fd454df7af3c63f3ffc33c2761d3275 /rest_framework/urls.py
parent55e779c856347094e3240bc7bf83927acf0bd442 (diff)
parent0e51dab8f4cdfeb05b7c70a0ca74ffa90d01f512 (diff)
downloaddjango-rest-framework-14877464f66600ab89567f846cfd98c7200437e9.tar.bz2
Merge pull request #1816 from carltongibson/regression-login-template
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