How to use create view on multiple models

Is it possible to insert multiple models on one class based create view? If so how does one go about it?

So there are a couple of different scenarios here, and the answers would vary based upon the precise behavior being looked for.

  1. Multiple separate models with multiple submit buttons - each submit button submitting their own form and the other forms are ignored.

  2. Multiple separate models that are related, and one submit button saves all.

  3. Multiple separate models that aren’t related, and one submit button saves all.

What I have done in the past for #2 is to use the formset facility with the formset having a limit of 1 form, and not providing any facility to add forms.

Ken