{% extends "base.html" %} {% block title %}Registration form {% endblock %} {% block content %} Please provide the following details. <form action="" method="post"> {% csrf_token %} <table> {{ form.as_table }} </table> <input type="submit" value="Register" /> </form> {% endblock content %}