1
0
mirror of https://gitlab.com/animath/si/plateforme.git synced 2025-06-21 01:58:23 +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

@ -1,4 +1,4 @@
# Generated by Django 3.0.11 on 2021-01-22 07:42
# Generated by Django 3.0.11 on 2021-01-22 08:00
from django.db import migrations, models
@ -13,6 +13,6 @@ class Migration(migrations.Migration):
migrations.AddField(
model_name='participantregistration',
name='gender',
field=models.DateField(choices=[('female', 'Female'), ('male', 'Male'), ('other', 'Other')], default='other', verbose_name='gender'),
field=models.CharField(choices=[('female', 'Female'), ('male', 'Male'), ('other', 'Other')], default='other', max_length=6, verbose_name='gender'),
),
]