sync
Laurent 10 months ago
parent 4767a15f1f
commit 852c0ff18c
  1. 2
      tournaments/models/tournament.py

@ -127,7 +127,7 @@ class Tournament(BaseModel):
components = [self.formatted_start_date(), self.short_base_name()] components = [self.formatted_start_date(), self.short_base_name()]
if self.event and self.event.club and self.event.club.name: if self.event and self.event.club and self.event.club.name:
components.append(self.event.club.name) components.append(self.event.club.name)
elif self.event.name: elif self.event and self.event.name:
components.append(self.event.name) components.append(self.event.name)
elif self.name: elif self.name:
components.append(self.name) components.append(self.name)

Loading…
Cancel
Save