Django のフォームセットは、同じフォームの複数のインスタンス用です。複数のフォーム クラスを保存しようとしていますが、これはフォームセットの対象ではありません。
1 つの方法は、フォームに含めたいすべてのフィールドを含むフォームを作成し、フォームを処理するときに、処理する個々のフォームを作成することです。以下は簡単な図です。モデルをイントロスペクトし、モデル フォームを自動的に作成するなど、凝ったこともできますが、それは長い話です...
class Form1(forms.Form):
a_field = forms.CharField()
class Form2(forms.Form):
b_field = forms.CharField()
class MainForm(forms.Form):
a_field = forms.CharField()
b_field = forms.CharField()
def __init__(self, **kwargs):
super(MainForm, self).__init__(**kwargs)
# This will work because the field name matches that of the small forms, data unknow to
# a form will just be ignored. If you have something more complex, you need to append
# prefix, and converting the field name here.
form1 = Form1(**kwargs)
form2 = Form2(**kwargs)