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