{% if form.errors %}

There"s something wrong with what you have entered

{% endif %} {% if next %}

Hey,you cant access that page.

{% endif %}
{% csrf_token %}

Username: {{ form.username }}

Password: {{ form.password }}