1
0
mirror of https://github.com/haiwen/seahub.git synced 2025-09-16 23:29:49 +00:00

Fix bug in HTTP_REFERER

This commit is contained in:
xiez
2012-06-05 19:38:28 +08:00
parent 07e74346f3
commit c5daf3879a
10 changed files with 59 additions and 53 deletions

View File

@@ -4,8 +4,8 @@ from django.views.generic.simple import direct_to_template
from seahub.views import root, peers, myhome, \
repo, repo_history, modify_token, remove_repo, seafadmin, useradmin, \
role_add, role_remove, activate_user, user_add, user_remove, \
ownerhome, remove_fetched_repo, repo_history_dir, repo_history_revert, \
activate_user, user_add, user_remove, \
ownerhome, repo_history_dir, repo_history_revert, \
user_info, repo_set_access_property, repo_access_file, \
repo_add_share, repo_list_share, repo_remove_share, repo_download, \
seafile_access_check, back_local, group_admin, repo_history_changes
@@ -54,8 +54,8 @@ urlpatterns = patterns('',
url(r'^useradmin/$', useradmin, name='useradmin'),
(r'^useradmin/add/$', user_add),
(r'^useradmin/info/(?P<email>[^/]+)/$', user_info),
(r'^useradmin/(?P<user_id>[^/]+)/role/add/$', role_add),
(r'^useradmin/(?P<user_id>[^/]+)/role/remove/$', role_remove),
# (r'^useradmin/(?P<user_id>[^/]+)/role/add/$', role_add),
# (r'^useradmin/(?P<user_id>[^/]+)/role/remove/$', role_remove),
(r'^useradmin/(?P<user_id>[^/]+)/user/remove/$', user_remove),
(r'^useradmin/activate/(?P<user_id>[^/]+)/$', activate_user),