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:
@ -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,
|
||||
|
Reference in New Issue
Block a user