Skip to content

Commit

Permalink
Add person grouping option "CivicAI Advisory Trust"
Browse files Browse the repository at this point in the history
  • Loading branch information
nmorduch committed Apr 26, 2024
1 parent 7b89ed7 commit 3812b4d
Show file tree
Hide file tree
Showing 3 changed files with 25 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -69,6 +69,7 @@ class StaffList extends Component {
'Former Arizona State University Fellows': 3,
'Contributing Staff': 4,
'Advisors': 5,
'CivicAI Advisory Trust': 5,
'Fellows': 6,
'Former Fellows': 7,
}
Expand Down
23 changes: 23 additions & 0 deletions person/migrations/0027_auto_20240426_0943.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
# Generated by Django 3.2.18 on 2024-04-26 13:43

from django.db import migrations, models


class Migration(migrations.Migration):

dependencies = [
('person', '0026_external_partner'),
]

operations = [
migrations.AlterField(
model_name='personprogramrelationship',
name='group',
field=models.CharField(blank=True, choices=[('Fellows', 'Fellows'), ('Former Fellows', 'Former Fellows'), ('Advisors', 'Advisors'), ('Contributing Staff', 'Contributing Staff'), ('Arizona State University Fellows', 'Arizona State University Fellows'), ('Former Arizona State University Fellows', 'Former Arizona State University Fellows'), ('CivicAI Advisory Trust', 'CivicAI Advisory Trust')], help_text="Set grouping for program's our people page", max_length=50, null=True),
),
migrations.AlterField(
model_name='personsubprogramrelationship',
name='group',
field=models.CharField(blank=True, choices=[('Fellows', 'Fellows'), ('Former Fellows', 'Former Fellows'), ('Advisors', 'Advisors'), ('Contributing Staff', 'Contributing Staff'), ('Arizona State University Fellows', 'Arizona State University Fellows'), ('Former Arizona State University Fellows', 'Former Arizona State University Fellows'), ('CivicAI Advisory Trust', 'CivicAI Advisory Trust')], help_text="Set grouping for subprogram's our people page", max_length=50, null=True),
),
]
1 change: 1 addition & 0 deletions person/models.py
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,7 @@
"Former Arizona State University Fellows",
"Former Arizona State University Fellows",
),
("CivicAI Advisory Trust", "CivicAI Advisory Trust"),
)
YEAR_CHOICES = [(r, r) for r in range(1999, datetime.date.today().year + 1)]
YEAR_CHOICES.reverse()
Expand Down

0 comments on commit 3812b4d

Please sign in to comment.