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