Welcome to django-smart-forms’s documentation!

Contents:

FormSet

FormSet main goal is the same as django formsets , but the implementation and the API differs a bit. FormSet object is a more django.forms.Form like object. Basic usage:

>>> from smartforms import FormSet
>>> class Form1(forms.Form):
        field1 = forms.CharField()
        field2 = forms.IntegerField()
>>> form = FormSet(form_class=Form1, repeat=2, label_suffix='suff')
>>> form.is_valid()
>>> False

Indices and tables