{% extends "base.html" %} {% block title %} {{ request.site.name }} Log-In {% endblock title %} {% block content %} {% if form.errors %}
Error

Authentication failed, please try again.

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

Your account doesn't have access to this page. To proceed, please login with an account that has access.

{% else %}

Please login to see this page.

{% endif %} {% endif %}
{% csrf_token %}
{% endblock content %}