Login

{% if form.errors %}

The password or username that was entered was not correct

{% endif %} {% if next %}

Hey you can't access that page!

{% endif %}
{% csrf_token %}

username: {{ form.username }}

password: {{ form.password }}