Redirect all /accounts/ -> /account/, and anchor google url.
- Legacy-Id: 1434
This commit is contained in:
parent
06e841b645
commit
324c873992
|
@ -68,7 +68,7 @@ urlpatterns = patterns('',
|
|||
(r'^review/top/(?P<page>[0-9a-f]+)/$', 'ietf.utils.views.top'),
|
||||
|
||||
# Google webmaster tools verification url
|
||||
(r'googlea30ad1dacffb5e5b.html', 'django.views.generic.simple.direct_to_template', { 'template': 'googlea30ad1dacffb5e5b.html' }),
|
||||
(r'^googlea30ad1dacffb5e5b.html', 'django.views.generic.simple.direct_to_template', { 'template': 'googlea30ad1dacffb5e5b.html' }),
|
||||
|
||||
# ekr, fluffy, wgcharter tool
|
||||
# (r'^wgcharter/', include('ietf.wgcharter.urls')),
|
||||
|
@ -76,9 +76,9 @@ urlpatterns = patterns('',
|
|||
# Uncomment this for pre-approval tool for initial Internet-Drafts
|
||||
#(r'^wg/', include('ietf.wg.urls')),
|
||||
|
||||
# Django 0.96 hardcodes /accounts/profile/; we want to use
|
||||
# /account/profile.
|
||||
(r'accounts/profile/', 'django.views.generic.simple.redirect_to', { 'url': '/account/profile/' }),
|
||||
# Django 0.96 hardcodes /accounts/; we want to use
|
||||
# /account/.
|
||||
(r'^accounts/(?P<dir>\w+)/', 'django.views.generic.simple.redirect_to', { 'url': '/account/%(dir)s/' }),
|
||||
)
|
||||
|
||||
if settings.SERVER_MODE in ('development', 'test'):
|
||||
|
|
Loading…
Reference in a new issue