title: Displaying foreign key attributes in ModelForm Django
body: <p>Model:</p>
  
  <pre><code>class Company(models.Model):
      id = models.AutoField(primary_key = True)
      name = models.CharField(max_length = 30)
      parent = models.ForeignKey('self', null=True, blank=True)
  </code></pre>
  
  <p>Form:</p>
  
  <pre><code>class CompanyForm(forms.ModelForm):
  
      class Meta:
          model = Company
          fields = ['name', 'parent']
  </code></pre>
  
  <p>When I view the form's 'parent' dropdown, I get a list of objects:</p>
  
  <ul>
  <li>Company object</li>
  <li>Company object</li>
  <li>Company object</li>
  <li>Company object</li>
  </ul>
  
  <p>I want to display the objects' names in the dropdown instead:</p>
  
  <ul>
  <li>unilever</li>
  <li>general mills</li>
  <li>kraft</li>
  <li>yoplait</li>
  </ul>
  
  <p>What lines of code do I need to add?</p>