{% extends 'base.html' %} {% load static %} {% block content %}

Login Page!

{% if form.errors %}

There's something wrong with what you entered!

{% endif %} {% if next %}

Hey, you can't access that page.

{% endif %}
{% csrf_token %}

Username: {{ form.username }}

Password: {{ form.password }}

{% endblock %}