def post(self, request, *args, **kwargs):
        form_classes = self.get_form_classes()
        forms = self.get_forms(form_classes)
        all_forms_valid = True
        all_cleaned_data = {}
        invalid_forms = []
        for form_name, form in forms.iteritems():
            if not form.is_valid():
                invalid_forms.append(form_name)
                all_forms_valid = False
            else:
                if isinstance(form.cleaned_data, list):
                    # This is a formset, cleaned_data is a list of dicts
                    for instance in form.cleaned_data:
                        all_cleaned_data.update(instance)
                else:
                    all_cleaned_data.update(form.cleaned_data)
        if all_forms_valid:
            return self.form_valid(forms, all_cleaned_data)
        else:
            return self.render_invalid_response(forms)
Process a post request.
dataset/ETHPy150Open ofa/connect/open_connect/connect_core/utils/views.py/ProcessMultipleFormsView.post