# Django 1.8.18.dev20170123152445 documentation

# Formset Functions

Formset API reference. For introductory material about formsets, see the Formsets topic guide.

`formset_factory`(form, formset=BaseFormSet, extra=1, can_order=False, can_delete=False, max_num=None, validate_max=False, min_num=None, validate_min=False)

  Returns a `FormSet` class for the given `form` class.

  See Formsets for example usage.

  The `min_num` and `validate_min` parameters were added.