{% extends "base.html" %} {% block title %}Log-in{% endblock %} {% block content %}

Log-in

{% if form.errors %}

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

{% else %}

Please, use the following form to log-in:

{% endif %}
{{ form.as_p }} {% csrf_token %}

{% endblock %}