{% extends "core/base.html" %} {% block content %} {% if user.is_authenticated %}

Signed in as {{ user.get_username }}.

Your profile

{% csrf_token %}
{% else %}
{% csrf_token %}

Sign in with a password

{% endif %} {% endblock %}