[Answered ]-FormSet saves the data of only one form

2👍

You cannot save a formset as it contains multiple forms. So I would suggest you change your code to:

   if formset.is_valid():
       for form in formset:
            form.save()
       return HttpResponseRedirect('/')

See the docs.

Leave a comment