You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
How would you deal with the case of having two separate forms and two models but sharing the same CreateView?
For example if you have two models that inherit one abstract model, and in the CreateView it shows both forms to the the user, and which ever form the user submits, it should create an instance of its associated model.
Is this doable with MultiForm?
The text was updated successfully, but these errors were encountered:
You should avoid having two forms on the same page with different submit buttons. It would lead to confusing behaviour for the user as if they had entered any information in the other form, it would be lost.
This is not an issue but more of a question.
How would you deal with the case of having two separate forms and two models but sharing the same CreateView?
For example if you have two models that inherit one abstract model, and in the CreateView it shows both forms to the the user, and which ever form the user submits, it should create an instance of its associated model.
Is this doable with MultiForm?
The text was updated successfully, but these errors were encountered: