title: Django - CreateView with multiple models
body: <p>Can I use Django <a href="https://docs.djangoproject.com/en/1.9/ref/class-based-views/generic-editing/#django.views.generic.edit.CreateView" rel="noreferrer">CreateViews</a> to make a form that add data to multiple tables?
  I've created a model called <strong>UserMeta</strong> to store some additional informations of my users. </p>
  
  <h3>The Problem</h3>
  
  <p>I want to create a view with CreateViews, that display fields for creating a new user (<a href="https://docs.djangoproject.com/en/1.9/ref/contrib/auth/#user-model" rel="noreferrer">Django User Model</a>) and some extra fields based on my UserMeta model:</p>
  
  <pre><code>class UserMeta(models.Model):
      country_code = models.CharField(max_length=30, verbose_name="Nome",
                              help_text="Insert the name of the country")
  </code></pre>
  
  <p>I need an output schema like this:</p>
  
  <blockquote>
    <p>|-form</p>
    
    <p>|-- input user.name</p>
    
    <p>|-- input user.username</p>
    
    <p>|-- input user....</p>
    
    <p>|-- input usermeta.country_code</p>
  </blockquote>