django - formset
问题 please someone can explain for me a bit more about formset with its template , all my formsets only save the last form a appreciate your helps class Name(models.Model): name = models.CharField(unique=True,max_length=50) date = models.DateTimeField(auto_now_add=True) def __str__(self): return self.name forms.py class NameForm(ModelForm): class Meta: model = Name fields = '__all__' NameFormSet = modelformset_factory(Name,form=NameForm,extra=1,max_num=10) my template <button class="btn-block mt