for player in players:
    player_stats = PlayerStat.objects.filter(player__id=player.pk)
for n, stat in enumerate(player_stats):
    if n == 0 and stat.passing_completions:
        pass
Проблема с преобразованием строки в int в Django/Python