diff --git a/registration/migrations/0015_alter_participantregistration_gender.py b/registration/migrations/0015_alter_participantregistration_gender.py new file mode 100644 index 0000000..114c8b4 --- /dev/null +++ b/registration/migrations/0015_alter_participantregistration_gender.py @@ -0,0 +1,22 @@ +# Generated by Django 5.1.5 on 2025-03-27 19:18 + +from django.db import migrations, models + + +class Migration(migrations.Migration): + + dependencies = [ + ("registration", "0014_participantregistration_country"), + ] + + operations = [ + migrations.AlterField( + model_name="participantregistration", + name="gender", + field=models.CharField( + choices=[("female", "Female"), ("male", "Male"), ("other", "Other")], + max_length=6, + verbose_name="gender", + ), + ), + ] diff --git a/registration/models.py b/registration/models.py index b169610..a9ded72 100644 --- a/registration/models.py +++ b/registration/models.py @@ -167,7 +167,6 @@ class ParticipantRegistration(Registration): ("male", _("Male")), ("other", _("Other")), ], - default="other", ) address = models.CharField(