mirror of
https://gitlab.com/animath/si/plateforme.git
synced 2025-08-05 15:29:22 +02:00
Fix tests
This commit is contained in:
@@ -1,6 +1,7 @@
|
||||
# Copyright (C) 2020 by Animath
|
||||
# SPDX-License-Identifier: GPL-3.0-or-later
|
||||
|
||||
from datetime import date
|
||||
import os
|
||||
|
||||
from address.models import AddressField
|
||||
@@ -123,12 +124,12 @@ class Tournament(models.Model):
|
||||
|
||||
date_start = models.DateField(
|
||||
verbose_name=_("start"),
|
||||
default=timezone.now,
|
||||
default=date.today,
|
||||
)
|
||||
|
||||
date_end = models.DateField(
|
||||
verbose_name=_("end"),
|
||||
default=timezone.now,
|
||||
default=date.today,
|
||||
)
|
||||
|
||||
place = AddressField(
|
||||
|
Reference in New Issue
Block a user