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/"
精彩评论