1
0
mirror of https://github.com/haiwen/seahub.git synced 2025-08-31 14:42:10 +00:00

User seafserv_rpc instead of seafile_rpc and add repo management for staff

This commit is contained in:
plt
2012-01-29 13:05:35 +08:00
parent 56275225aa
commit 14308b7f7b
9 changed files with 207 additions and 113 deletions

View File

@@ -3,7 +3,7 @@ from django.conf import settings
from django.views.generic.simple import direct_to_template
from seahub.views import root, home, peers, groups, myhome, myrepos, \
repo, group, group_add_repo, modify_token, remove_repo
repo, group, group_add_repo, modify_token, remove_repo, seafadmin
# Uncomment the next two lines to enable the admin:
from django.contrib import admin
@@ -39,6 +39,7 @@ urlpatterns = patterns('',
(r'^repo/token/modify/(?P<repo_id>[^/]+)/$', modify_token),
(r'^repo/remove/(?P<repo_id>[^/]+)/$', remove_repo),
(r'^seafadmin/$', seafadmin),
(r'^avatar/', include('avatar.urls')),
(r'^profile/', include('seahub.profile.urls')),
)