from .models import Team def global_team_list(request): return { 'alle_namen': Team.objects.all().only('name') }