Session Authentication

{% if user.is_authenticated %}

You are logged in as {{ user.username }}.

{% else %}

You need to {% optional_docs_login request %} to enable Session Authentication.

{% endif %}
{% if user.is_authenticated %} {% endif %}