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