After logging in, my Sign Up/Log In boxes should be removed, and replaced with a box consisting of the username that has logged in and linking to the user’s profile.
How can this be accomplished?
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
in your template:
with django you always have the authenticated user available in the request and this simple if/else statement helps with what you need. you can obviously make this an ajax call and call the html without the need of a new request
more info in the docs