feat: Add intersex option for animals

Intersex rats are rare but well documented.
This commit is contained in:
moanos [he/him] 2024-11-21 20:35:09 +01:00
parent 052e42f76a
commit e6f5a42d15
2 changed files with 19 additions and 0 deletions

View File

@ -0,0 +1,18 @@
# Generated by Django 5.1.1 on 2024-11-21 19:34
from django.db import migrations, models
class Migration(migrations.Migration):
dependencies = [
('fellchensammlung', '0023_user_email_notifications'),
]
operations = [
migrations.AlterField(
model_name='animal',
name='sex',
field=models.CharField(choices=[('M_N', 'neutered male'), ('M', 'male'), ('F_N', 'neutered female'), ('F', 'female'), ('I', 'intersex')], max_length=20),
),
]

View File

@ -462,6 +462,7 @@ class SexChoices(models.TextChoices):
MALE = "M", "male"
FEMALE_NEUTERED = "F_N", "neutered female"
FEMALE = "F", "female"
INTER = "I", "intersex"
class Animal(models.Model):