开发者

Django url conf

When user logs in, he is redirected to /accounts/loggedin/ . Loggedin is the simple view that renders logged_in.html template which has menu on it. Example of the menu item:

<li><a id="n-rsvp开发者_运维百科" href="rsvp/" title=""></a></li>

Rsvp is the app I created. The question is what should I put inside of template so after clicking on RSVP on the menu user redirects to the "global" rsvp url, so instead of looking like this: http://127.0.0.1:8000/accounts/loggedin/rsvp url should be looking like this http://127.0.0.1:8000/rsvp


my first guess would be href="/rsvp/"

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜