{% extends "base.html" %} {% block title %}Registration{% endblock %} {% block content %} <form action="" method="post">{% csrf_token %} <table> {{ form.as_table }} </table> <input type="submit" /> </form> {% endblock content %}