|
|
|
|
@ -149,7 +149,10 @@ class Match(models.Model): |
|
|
|
|
livematch = LiveMatch(title, date, duration, court, self.started(), ended) |
|
|
|
|
|
|
|
|
|
for team_score in self.sorted_team_scores(): |
|
|
|
|
image = team_score.team_registration.logo |
|
|
|
|
if team_score.team_registration.logo: |
|
|
|
|
image = team_score.team_registration.logo |
|
|
|
|
else: |
|
|
|
|
image = None |
|
|
|
|
names = team_score.team_names() |
|
|
|
|
scores = team_score.scores_array() |
|
|
|
|
weight = team_score.team_registration.weight |
|
|
|
|
|