Sith/core/migrations/0036_auto_20211001_0248.py
Céleste 1f7752d457 Add pronouns to profile ; Update gender settings
Add pronouns to option list in profile
Modify "Sex" translation to "Genre"
Added "Other" to sex option list (alongside Man and Woman)

update DB,add default value to Pronouns field

Update views.py
2021-10-06 14:12:34 +02:00

25 lines
712 B
Python

# Generated by Django 2.2.24 on 2021-10-01 00:48
from django.db import migrations, models
class Migration(migrations.Migration):
dependencies = [
('core', '0035_auto_20200216_1743'),
]
operations = [
migrations.AddField(
model_name='user',
name='pronouns',
field=models.CharField(default='', max_length=64, verbose_name='pronouns'),
preserve_default=False,
),
migrations.AlterField(
model_name='user',
name='sex',
field=models.CharField(blank=True, choices=[('MAN', 'Man'), ('WOMAN', 'Woman'), ('OTHER', 'Other')], max_length=10, null=True, verbose_name='sex'),
),
]