{% extends 'base.html' %} {% block content %} <form action="{% url auth_login %}" method="post"> {% csrf_token %} {{ form.as_p }} <input type="submit" value="Login" /> </form> <a href="{% url auth_password_reset %}">Forgot password?</a> {% endblock %}