{% extends "base.html" %} {%block maincontent%}

Login

{% if form.errors %}

Your username and password didn't match. Please try again.

{% endif %}
{{ form.username.label_tag }} {{ form.username }}
{{ form.password.label_tag }} {{ form.password }}
{%endblock%}