|
|
|
@ -1416,11 +1416,14 @@ class Tournament(BaseModel): |
|
|
|
else: |
|
|
|
else: |
|
|
|
return True |
|
|
|
return True |
|
|
|
|
|
|
|
|
|
|
|
def umpire_contact(self): |
|
|
|
def umpire_contact(self): |
|
|
|
if self.umpire_custom_contact is not None: |
|
|
|
if self.umpire_custom_contact is not None: |
|
|
|
print(self.umpire_custom_contact) |
|
|
|
print(self.umpire_custom_contact) |
|
|
|
return self.umpire_custom_contact |
|
|
|
return self.umpire_custom_contact |
|
|
|
return self.event.creator.full_name() |
|
|
|
if self.event and self.event.creator: |
|
|
|
|
|
|
|
return self.event.creator.full_name() |
|
|
|
|
|
|
|
else: |
|
|
|
|
|
|
|
return None |
|
|
|
|
|
|
|
|
|
|
|
def umpire_mail(self): |
|
|
|
def umpire_mail(self): |
|
|
|
if self.umpire_custom_mail is not None: |
|
|
|
if self.umpire_custom_mail is not None: |
|
|
|
|