title: Django inline formsets with multiple models & crispy forms
body: <p>I have been blocked on this for a while so thought I'd ask:</p>
  
  <p>I have a an example Django project with 3 models (one parent, two children) all combined in one form (formset and two inline formsets).</p>
  
  <h1>Edit (2020-04-21)</h1>
  
  <p>I have created a repo to explain the issue slightly better (<a href="https://github.com/nladwa/django-inline" rel="nofollow noreferrer">here</a>).</p>
  
  <p>In doing so, I've realised that this is a <code>django-crispy-forms</code> issue.</p>
  
  <p>See <a href="https://github.com/nladwa/django-inline/commit/401503a621bc58cd915b2a2210290cf825d22452" rel="nofollow noreferrer">this commit</a> for what the working fix is.</p>
  
  <p>I'm struggling to implement <code>django-crispy-forms</code> in the next iteration of this form, particularly around how the form is defined and grouped as one element.</p>
  
  <p>Other things I'm investigating:</p>
  
  <ul>
  <li><a href="http://kevindias.com/writing/django-class-based-views-multiple-inline-formsets/" rel="nofollow noreferrer">http://kevindias.com/writing/django-class-based-views-multiple-inline-formsets/</a></li>
  <li><a href="https://micropyramid.com/blog/how-to-use-nested-formsets-in-django/" rel="nofollow noreferrer">https://micropyramid.com/blog/how-to-use-nested-formsets-in-django/</a></li>
  </ul>
  
  <p>Any pointers or help would be much appreciated.</p>