title: Accessing Django OneToOneField in templates?
body: <p>I have the following scenario.</p>
  
  <pre><code>class A(models.Model):
      a = models.IntegerField()
  
  class B(models.Model):
      c = models.OneToOneField(A)
      d = models.DecimalField()
  </code></pre>
  
  <p>In my templates, I have a list of objects A. In my template how do I access the attribute "d" from my template?</p>
  
  <p>Thanks.</p>