37👍
✅
class B(models.Model):
c = models.OneToOneField(A, related_name='b')
d = models.DecimalField()
{{ a.b.d }}
Source:stackexchange.com