{% extends "base.html" %} {% block title %}Log in{% endblock %} {% block main_content %}
If you don't have an account, you can sign up for one.
It's free, and you'll get access to a bunch of nifty features.
{% if form.errors %}

Please correct the errors below:

{% endif %}
{% if form.username.errors %} {{ form.username.errors|join:", " }}{% endif %} {{ form.username }}
{% if form.password.errors %} {{ form.password.errors|join:", " }}{% endif %} {{ form.password }}
{% endblock %}