DjangoFormsets


Syntax

  • NewFormSet = formset_factory( SomeForm, extra=2 )
  • formset = NewFormSet( initial = [ {'some_field': 'Field Value', 'other_field': 'Other Field Value',} ])