1
0
mirror of https://gitlab.com/animath/si/plateforme.git synced 2025-07-03 06:42:48 +02:00

Gender is not a date

This commit is contained in:
Yohann D'ANELLO
2021-01-22 09:04:44 +01:00
parent 74c0260593
commit 628f69e772
3 changed files with 10 additions and 6 deletions

View File

@ -128,7 +128,8 @@ class ParticipantRegistration(Registration):
default=date.today,
)
gender = models.DateField(
gender = models.CharField(
max_length=6,
verbose_name=_("gender"),
choices=[
("female", _("Female")),