mirror of
https://github.com/ae-utbm/sith.git
synced 2024-11-18 12:13:24 +00:00
1f7752d457
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
25 lines
712 B
Python
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'),
|
|
),
|
|
]
|