1👍
✅
If you need 9 forms for 9 different models then I don’t believe formsets will help you. Formsets are for constructing multiple forms of the same type. Likewise the CreateView
is intended to be used only in the simple case of creating a single model. If you are creating multiple models/validating multiple forms you will find yourself fighting with CreateView
to make this work. You would be better off writing your own view class built from ProcessFormView
perhaps even View
.
Source:stackexchange.com