1
0
mirror of https://github.com/haiwen/seahub.git synced 2025-09-09 02:42:47 +00:00

Add anonymous share feature

This commit is contained in:
xiez
2012-06-12 10:13:14 +08:00
parent 82263b6787
commit 705f86e68d
23 changed files with 571 additions and 426 deletions

View File

@@ -2,10 +2,8 @@ from django.conf.urls.defaults import *
from views import *
urlpatterns = patterns('',
url(r'^$', list_shared_repos),
url(r'^list/$', list_shared_repos, name='shared_repo_list'),
url(r'^add/$', share_repo),
url(r'^delete/(?P<item_id>[^/]+)/$', delete_share_item),
url('^remove/(?P<token>.+)/$', remove_anonymous_share, name='remove_anonymous_share'),
url('^(?P<token>.+)/$', anonymous_share_confirm, name='anonymous_share_confirm'),
)