bracket-feature
laurent 11 months ago
commit 788a60e1ed
  1. 2
      tournaments/models/tournament.py

@ -938,6 +938,7 @@ class TeamSummon:
class TeamItem:
def __init__(self, team_registration):
self.names = team_registration.team_names()
self.date = team_registration.local_call_date()
self.registration_date = team_registration.registration_date
self.weight = team_registration.weight
self.initial_weight = team_registration.initial_weight()
@ -953,6 +954,7 @@ class TeamItem:
def to_dict(self):
return {
"names": self.names,
"date": self.date,
"registration_date": self.registration_date,
"weight": self.weight,
"initial_weight": self.initial_weight,

Loading…
Cancel
Save