Source

django-twostepauth / exampleapp / demoapp / templates / registration / registration_form.html

{% extends "base.html" %}
{% block content %}
<form action="" method="post">{% csrf_token %}
<legend>Register</legend>
{{ form.as_p }}
<br>
<p class="submit">
<input type="submit" value="Submit" />
</p>
</form>
{% endblock %}