mirror of
https://github.com/ae-utbm/sith.git
synced 2025-07-10 03:49:24 +00:00
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
This commit is contained in:
24
core/migrations/0036_auto_20211001_0248.py
Normal file
24
core/migrations/0036_auto_20211001_0248.py
Normal file
@ -0,0 +1,24 @@
|
||||
# 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'),
|
||||
),
|
||||
]
|
Reference in New Issue
Block a user