|
|
|
|
@ -764,7 +764,7 @@ class Tournament(models.Model): |
|
|
|
|
if datetime.now().date() >= self.start_date.date(): |
|
|
|
|
return is_build_and_not_empty |
|
|
|
|
minimum_publish_date = self.creation_date.replace(hour=9, minute=0) + timedelta(days=1) |
|
|
|
|
return timezone.now() >= minimum_publish_date |
|
|
|
|
return timezone.now() >= timezone.localtime(minimum_publish_date) |
|
|
|
|
|
|
|
|
|
def display_teams(self): |
|
|
|
|
if self.end_date is not None: |
|
|
|
|
|