Laurent 11 months ago
commit 55c20bc43c
  1. 2
      tournaments/models/tournament.py

@ -941,6 +941,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()
@ -956,6 +957,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