when I do something in 'profile' page, the url is concatenated to the next of 'profile'.
(当我在“配置文件”页面中执行某项操作时,该URL将连接到“配置文件”的下一个目录。)
but I want to link to just 'signout'.(但我只想链接到“退出”。)
not 'profile/signout'(不是“个人资料/退出”)
this is my urls.py.
(这是我的urls.py。)
when ever I do something in 'profile'page, the href link is concatenated to 'profile'url.
(每当我在“个人资料”页面中执行某项操作时,href链接就会串联到“个人资料” URL中。)
(这是href来源。)
since this href source is header.html, this page is included another pages.(由于此href来源是header.html,因此该页面包含其他页面。)
and in the other pages, it works well.(在其他页面上,效果很好。)
only in profile page, the href url is concatenated to 'profile/1' url.(仅在个人资料页面中,href网址被连接到“ profile / 1”网址。)
how can I fix it?
(我该如何解决?)
ask by Jin-hyeong Ma translate from so