Django formset only adding one form
问题 OK, so this is my first time using formsets. I am trying to create a table that I can dynamically add rows to and fill out each row, then submit and have Django put them all in the database. Every time I submit it only adds the first form. File views.py: @main_context_wrapper def bacteriaForm2(request,context): if not request.user.is_authenticated(): #If user isn't authenticated, then just redirect to login return HttpResponseRedirect('/login/') BacteriaFormSet = formset_factory(BacteriaForm)