if admin:
        url = reverse_tournament('participants-team-record', context['tournament'], kwargs={'pk': team.pk})
    else:
        url = reverse_tournament('participants-public-team-record', context['tournament'], kwargs={'pk': team.pk})