diff --git a/api/urls.py b/api/urls.py index 34a9e0851e..fee1ebadc9 100644 --- a/api/urls.py +++ b/api/urls.py @@ -11,7 +11,7 @@ urlpatterns = patterns('', url(r'^account/info/$', Account.as_view()), url(r'^$', csrf_exempt(ReposView.as_view())), url(r'^repo/list/$', csrf_exempt(ReposView.as_view()), name='repos'), - url(r'^repo/(?P[^/]+)/$', csrf_exempt(RepoView.as_view()), name='repo'), + (r'^repo/(?P[^/]+)/$', csrf_exempt(RepoView.as_view())), url(r'^dir/(?P[^/]+)/$', csrf_exempt(RepoDirPathView.as_view()), name='repo-dir-path'), url(r'^dir/(?P[^/]+)/(?P[^/]+)/$', csrf_exempt(RepoDirIdView.as_view()), name='repo-dir-id'),