1
0
mirror of https://github.com/haiwen/seahub.git synced 2025-09-05 08:53:14 +00:00

Fixed same url name bug

This commit is contained in:
zhengxie
2012-11-06 11:37:27 +08:00
parent 73418cc45d
commit 657d2e4c96

View File

@@ -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<repo_id>[^/]+)/$', csrf_exempt(RepoView.as_view()), name='repo'),
(r'^repo/(?P<repo_id>[^/]+)/$', csrf_exempt(RepoView.as_view())),
url(r'^dir/(?P<repo_id>[^/]+)/$', csrf_exempt(RepoDirPathView.as_view()), name='repo-dir-path'),
url(r'^dir/(?P<repo_id>[^/]+)/(?P<dir_id>[^/]+)/$', csrf_exempt(RepoDirIdView.as_view()), name='repo-dir-id'),