1
0
mirror of https://github.com/haiwen/seahub.git synced 2025-09-08 18:30:53 +00:00

Bugfix: remove fetched repo correctly on myhome page

This commit is contained in:
xiez
2012-03-26 13:59:44 +08:00
parent 2a56b78a63
commit fb533069a9
4 changed files with 14 additions and 7 deletions

View File

@@ -5,7 +5,7 @@ from django.views.generic.simple import direct_to_template
from seahub.views import root, peers, groups, myhome, \
repo, group, modify_token, remove_repo, seafadmin, useradmin, \
role_add, role_remove, activate_user, user_add, user_remove, \
ownerhome
ownerhome, remove_fetched_repo
# Uncomment the next two lines to enable the admin:
from django.contrib import admin
@@ -31,6 +31,7 @@ urlpatterns = patterns('',
(r'^repo/(?P<repo_id>[^/]+)/$', repo),
(r'^repo/token/modify/(?P<repo_id>[^/]+)/$', modify_token),
(r'^repo/remove/(?P<repo_id>[^/]+)/$', remove_repo),
(r'^repo/removefetched/(?P<user_id>[^/]+)/(?P<repo_id>[^/]+)/$', remove_fetched_repo),
(r'^seafadmin/$', seafadmin),
url(r'^useradmin/$', useradmin, name='useradmin'),