1
0
mirror of https://github.com/haiwen/seahub.git synced 2025-09-16 23:29:49 +00:00

Remove root function to reduce redirects

This commit is contained in:
zhengxie
2014-09-24 10:53:37 +08:00
parent 24f1b7d696
commit ed810b6205
2 changed files with 1 additions and 7 deletions

View File

@@ -38,7 +38,7 @@ urlpatterns = patterns('',
(r'^accounts/', include('seahub.base.registration_urls')),
(r'^$', root),
(r'^$', myhome),
#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'),