1 2 3 4 5 6 7 8 9 10 11 12
{% extends 'registration/base.html' %} {% block title %}Login{% endblock %} {% block content %} <h2>Login</h2> <form method="post"> {% csrf_token %} {{ form.as_p }} <button class="btn waves-effect waves-light" type="submit">Login</button> </form> {% endblock %}