1👍
✅
You are doing it wrong, just remove following lines from Division
model:
league_name = league.name
league_type = league.league_type
league_sex = league.league_sex
Later on if you want to access league info from division object you can do:
division = Division.objects.get(id=some_id)
league = division.league
print league.name
print league.league_type
I think you are just confused.
Source:stackexchange.com