diff options
author | emkael <emkael@tlen.pl> | 2018-10-17 19:51:38 +0200 |
---|---|---|
committer | emkael <emkael@tlen.pl> | 2018-10-17 19:51:38 +0200 |
commit | 7c57e724e746f058e6b17d2035803f58f8dd8c4c (patch) | |
tree | e7cd367bc2d0ce0f50c9965f5c302d5e3c39d16c /jfr_playoff/dto.py | |
parent | 69faf075c1ddf5e9d5a77fb1bba245fd567bd348 (diff) | |
parent | ef9a1565fba727d05d4ebf91ef4a63f01b83f4bf (diff) |
Merge remote-tracking branch 'origin/next-round-prognosis' into v1.2.1
Diffstat (limited to 'jfr_playoff/dto.py')
-rw-r--r-- | jfr_playoff/dto.py | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/jfr_playoff/dto.py b/jfr_playoff/dto.py index 1bc153c..8c04901 100644 --- a/jfr_playoff/dto.py +++ b/jfr_playoff/dto.py @@ -8,12 +8,16 @@ def coalesce(*arg): class Team(object): - name = '' + name = None + possible_name = None score = 0.0 place = None + known_teams = 0 def __init__(self): self.place = [] + self.name = [] + self.possible_name = [] def __unicode__(self): return u'%s (%.1f)' % (coalesce(self.name, '<None>'), self.score) @@ -29,6 +33,8 @@ class Match(object): link = None winner = None loser = None + possible_winner = None + possible_loser = None winner_matches = None loser_matches = None winner_place = None |