1
0
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:
plt
2011-08-16 21:05:42 +08:00
parent 207be6c5bb
commit a8224736b1
7 changed files with 319 additions and 16 deletions

View File

@@ -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')),