1
0
mirror of https://gitlab.com/animath/si/plateforme.git synced 2025-07-03 17:22:51 +02:00

Create tournaments

This commit is contained in:
Yohann D'ANELLO
2020-12-31 12:13:42 +01:00
parent 03144ae58e
commit 4e29b4830a
13 changed files with 140 additions and 97 deletions

View File

@ -3,6 +3,7 @@
import os
from address.models import AddressField
from django.core.validators import RegexValidator
from django.db import models
from django.db.models import Index
@ -133,6 +134,10 @@ class Tournament(models.Model):
default=timezone.now,
)
place = AddressField(
verbose_name=_("place"),
)
inscription_limit = models.DateTimeField(
verbose_name=_("limit date for registrations"),
default=timezone.now,