Following link helped me solve the problem:
http://stackoverflow.com/questions/2448970/django-adding-inline-formset-rows-without-javascript
On Apr 27, 10:31 am, Sonal Breed wrote:
> Hello all,
>
> I have a ModelFormSet defined as
>
> RowFormSet = modelformset_factory(Row,
Hello all,
I have a ModelFormSet defined as
RowFormSet = modelformset_factory(Row, extra=7)
The requirement is to give user capability to add more rows to the
displayed form so that now total number of rows in the formset
increases by 1.
Can we dynamically add more rows to the formset? If so,
2 matches
Mail list logo