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