If some template requests from generic views I can get {{ user }} and it will be an object of authenticated user (e.g. me).
But if I work without generic views, with usual views {{ user }} does not return my object.
Why???
Thanks.
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.
Because you haven’t included it in your template render context.
You need to use something like: