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

Ask gender

This commit is contained in:
Yohann D'ANELLO
2021-01-22 08:45:00 +01:00
parent 48107943f9
commit 384de5758b
5 changed files with 144 additions and 93 deletions

View File

@ -128,6 +128,16 @@ class ParticipantRegistration(Registration):
default=date.today,
)
gender = models.DateField(
verbose_name=_("gender"),
choices=[
("female", _("Female")),
("male", _("Male")),
("other", _("Other")),
],
default="other",
)
address = AddressField(
verbose_name=_("address"),
null=True,