I have a problem that I do not know how to solve it. I have three models in my app:

```
class Hecho(models.Model):
codigo = models.CharField(max_length=1)
hecho = models.CharField(max_length=100)
class Beneficiario(models.Model):
tipoDocumento = models.CharField(max_length=150)
numeroDocumento = models.IntegerField()
nombre = models.CharField(max_length=150)
class HechoBeneficiario(models.Model):
beneficiario = models.ForeignKey(Beneficiario)
hecho = models.ForeignKey(HechoVictimizante)
```

As you can see the model HechoBeneficiario relates the other two models.

My problem is like through the beneficiary model can I get to the model made and paint this in a template?