{#
#} {# {% csrf_token %}#} {# {{ form.as_p }}#} {#
  • #} {#
    #} {% if form.errors %}

    Your username and password didn't match. 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 %}
    {{ form.username.label_tag }} {{ form.username }}
    {{ form.password.label_tag }} {{ form.password }}
    {# Assumes you setup the password_reset view in your URLconf #}

    Lost password?