'Given the ``HttpRequest``, the parent ``ModelForm`` instance, the
list of inline formsets and a boolean value based on whether the
parent is being added or changed, save the related objects to the
database. Note that at this point save_form() and save_model() have
already been called.'

def save_related(self, request, form, formsets, change):

    form.save_m2m()
    for formset in formsets:
        self.save_formset(request, form, formset, change=change)
