{% extends 'accounts/base.html' %} {% load crispy_forms_tags %} {% block title %}Log in{% endblock %} {% block content %}
{% csrf_token %} Log in {% if next %}
You must log in before you can access that page.
{% endif %} {{ form | crispy }}

Forgot your password?

Need an account?

{% endblock %}