In my template I have a table which I want to populate with data from two different tables which use foreign-keys.
The solution I find while googling around is to use