-
Notifications
You must be signed in to change notification settings - Fork 12
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: allow guides to select gender preferences for participants (#77)
- Loading branch information
Showing
3 changed files
with
48 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,31 @@ | ||
# Generated by Django 5.1.2 on 2024-10-14 18:02 | ||
|
||
from django.db import migrations, models | ||
|
||
|
||
class Migration(migrations.Migration): | ||
|
||
dependencies = [ | ||
("guides", "0020_guide_admin_notes_participant_admin_notes"), | ||
] | ||
|
||
operations = [ | ||
migrations.AddField( | ||
model_name="guide", | ||
name="gender_pref", | ||
field=models.CharField( | ||
choices=[ | ||
("NoPref", "I don't have a preference"), | ||
("Male", "I would prefer to work with a male participant"), | ||
("Female", "I would prefer to work with a female participant"), | ||
( | ||
"Non-Binary", | ||
"I would prefer to work with a non-binary participant", | ||
), | ||
], | ||
default="NoPref", | ||
max_length=32, | ||
verbose_name="Participant gender preference", | ||
), | ||
), | ||
] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters