def formset_valid(self, formset):
    self.object_list = formset.save()
    return super(ModelFormSetMixin, self).formset_valid(formset)
def formset_valid(self, formset):
    self.object_list = formset.save()
    return super(ModelFormSetMixin, self).formset_valid(formset)