title: Django queryset all fields of foreign key
body: <p>I am looking for an elegant and efficient way to pull data out of two tables that have a one-to-one relationship. </p>
  
  <p>Here are my models:</p>
  
  <pre><code>class Contact(models.Model):
      name = models.CharField(max_length=100)
      country = models.CharField(max_length=100)
      status = models.BooleanField()
  
  class ContactDetails(models.Model):
      contact_name = models.ForeignKey(Contact)
      contact_phone = models.CharField(max_length=100)
      contact_fax = models.CharField(max_length=100)
  </code></pre>
  
  <p>and my view:</p>
  
  <pre><code>def showContact(request):
      contacts = ContactDetails.objects.select_related('name').all()
      print contacts.values() // debugging in console
      return render(request, 'contacts/listContacts.html', { 'contacts': contacts } )
  </code></pre>
  
  <p>What I try to achieve is a list in my template like:</p>
  
  <p>name, contact_phone, contact_fax, country, status</p>
  
  <p>This again is something that must be so super simple, but I just stuck since a while with this now. </p>
  
  <p>Thanks!</p>