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