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

Rewrite repo related function

This commit is contained in:
plt
2011-09-07 10:57:47 +08:00
parent 72ddc19b5d
commit 6e3bd53397
7 changed files with 81 additions and 76 deletions

View File

@@ -1,7 +1,7 @@
from django.conf.urls.defaults import *
from django.conf import settings
from seahub.views import root, home, peers, groups, myhome, myfiles, \
repos, repo
from seahub.views import root, home, peers, groups, myhome, myrepos, \
repo
# Uncomment the next two lines to enable the admin:
from django.contrib import admin
@@ -25,9 +25,8 @@ urlpatterns = patterns('',
(r'^home/my/$', myhome),
(r'^peers/$', peers),
(r'^groups/$', groups),
(r'^repos/$', repos),
(r'^repo/(?P<repo_id>[^/]+)/', repo),
(r'^files/my/$', myfiles),
(r'^repos/my/$', myrepos),
(r'^avatar/', include('avatar.urls')),
(r'^profile/', include('seahub.profile.urls')),