support view.html template • To know what team to display, team_view requires a team_id parameter • Using the team_id parameter, look up team with Team.objects.get • If team lookup fails because team doesn’t exist, return a 404 response using raise Http404 • Include team in template context dictionary 5 def team_view(request, team_id): """ Lists the details of the team with team_id """ try: team = models.Team.objects.get(id=team_id) except models.Team.DoesNotExist: raise Http404 return TemplateResponse(request, 'softball/team/view.html', { 'team': team, 'record': team.record(), })