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:
@@ -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'),
|
||||
|
Reference in New Issue
Block a user