code: def form_valid(self, forms):
          
          for key, form in forms.items():
              setattr(self, '{}_object'.format(key), form.save())
          return super(MultipleModelFormMixin, self).form_valid(forms)
docs: If the form is valid, save the associated model.