title: How to have a nested inline formset within a form in Django?
body: <p>I hope this question has not been asked yet, but I want to know if it is possible to have a normal class-based form for an object and to have an inline formset inside it to edit its related objects. </p>
  
  <p>For example, I have a Contact model<br></p>
  
  <pre><code>class Contact(models.Model):
      ...
  </code></pre>
  
  <p><br>
  And a Communication model<br></p>
  
  <pre><code>class Communication(models.Model):
     contact = models.ForeignKey(Contact)
  </code></pre>
  
  <p><br></p>
  
  <p>and I want to have a form for Contact with a inline formset nested in it for managing communications related to it.</p>
  
  <p>Is it possible to do so with existing components or do I have a hopeless dream?</p>
  
  <p>EDIT : I know that the admin panel does it, but how do I make work in a view?</p>