If the form is valid, save the associated model.

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