fix r'home/$' in url partten

r'home/$' will match a container-name like 'test-name' or a path like
'somepath/a-key-name-home'. It should be r'^home/$'

fixes bug #1202079

Change-Id: I94f704990efc4ea6348c5707c774e1141ef1f3c2
This commit is contained in:
Kun Huang 2013-07-22 14:28:10 +08:00
parent ef8ca80344
commit e4f5edb9a4

View File

@ -26,7 +26,7 @@ from django.views.generic import TemplateView
urlpatterns = patterns('horizon.views',
url(r'home/$', 'user_home', name='user_home')
url(r'^home/$', 'user_home', name='user_home')
)
# Client-side i18n URLconf.