mirror of
https://github.com/haiwen/seahub.git
synced 2025-08-31 14:42:10 +00:00
Show repo in web
This commit is contained in:
5
urls.py
5
urls.py
@@ -1,6 +1,7 @@
|
||||
from django.conf.urls.defaults import *
|
||||
from django.conf import settings
|
||||
from seahub.views import root, home, peers, groups, myhome, myfiles
|
||||
from seahub.views import root, home, peers, groups, myhome, myfiles, \
|
||||
repos, repo
|
||||
|
||||
# Uncomment the next two lines to enable the admin:
|
||||
from django.contrib import admin
|
||||
@@ -24,6 +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'^avatar/', include('avatar.urls')),
|
||||
|
Reference in New Issue
Block a user