I downloaded and installed django-registration app. I also downloaded a template that has this strange piece of code 

> 
> {{ form }}
> 
> 
> 

that magically creates 4 labels and 4 textboxes for the user to enter his registration information. How does it work?

```
{% extends "registration/registration_base.html" %}
{% block title %}Register for an account{% endblock %}
{% block content %}

<table>
    <form method='post' action=''>{% csrf_token %}
        {{ form }}
        <tr><td></td><td><input type="submit" value="Send activation email" /></td>
    </form>
</table>
{% endblock %}

```