1
0
mirror of https://github.com/haiwen/seahub.git synced 2025-09-24 21:07:17 +00:00

Finish URL design

This commit is contained in:
Daniel Pan
2015-04-11 17:35:02 +08:00
parent 6680e8e88e
commit fd3a150717
8 changed files with 57 additions and 47 deletions

View File

@@ -38,7 +38,7 @@ urlpatterns = patterns('',
(r'^accounts/', include('seahub.base.registration_urls')),
(r'^$', myhome),
url(r'^$', libraries, name='libraries'),
#url(r'^home/$', direct_to_template, { 'template': 'home.html' } ),
url(r'^robots\.txt$', TemplateView.as_view(template_name='robots.txt', content_type='text/plain')),
url(r'^home/my/$', myhome, name='myhome'),