title: Django form with multiple models and dynamic quantity of models
body: <p>I am creating a form that creates a dynamic number of models. <code>FormSets</code> seem like the tool for the job, but I can't find examples that use multiple models. </p>
  
  <p>Using the models in <a href="https://docs.djangoproject.com/en/dev/topics/forms/modelforms/#a-full-example" rel="nofollow">this example</a> (<code>Author</code> and <code>Book</code>), My formset needs exactly one <code>Author</code> form, and at least one <code>Book</code> form. The user can add as many books as they would like to the author, all within the same form(set).</p>
  
  <p>What is the best way to accomplish this in the Django backend?</p>
  
  <p>Would I be better off posting JSON to a REST api to create these models?</p>