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

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

Loading…
Cancel
Save