{% extends "base.html" %} {% block title %}Basic Formset (Table layout){% endblock %} {% block extrahead %} {% endblock %} {% block content %}
{% for form in formset.forms %} {% endfor %}
Preferred Type Value
{{ form.preferred }} {{ form.type }} {{ form.value }}

{{ formset.management_form }}

{% endblock %} {% block sidebar %}

Django 1.2 added a "MAX_NUM_FORMS" field to the management form; its value maps to the value passed in "max_num" to the formset factory function.

If you're running Django 1.2, you won't be able to have more than 5 forms in this formset.

{% endblock %}