1
0
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:
Yohann D'ANELLO
2021-01-18 22:28:43 +01:00
parent d05a8339fe
commit ef4d74545a
7 changed files with 164 additions and 128 deletions

View File

@@ -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(