added veiw to teams.py