There are 4 occurrences of {% if user.is_authenticated %} in several templates. This only works if the context contains user and user is the authenticated user extracted from the request in a view and injected into the context.
You most probably want to check for {% if request.user.is_authenticated %} instead. This would be less error prone.
There are 4 occurrences of
{% if user.is_authenticated %}
in several templates. This only works if the context containsuser
anduser
is the authenticated user extracted from the request in a view and injected into the context.You most probably want to check for
{% if request.user.is_authenticated %}
instead. This would be less error prone.