diff --git a/ifbcat_api/migrations/0190_alter_team_ifbmembership.py b/ifbcat_api/migrations/0190_alter_team_ifbmembership.py new file mode 100644 index 0000000..ca4d00d --- /dev/null +++ b/ifbcat_api/migrations/0190_alter_team_ifbmembership.py @@ -0,0 +1,29 @@ +# Generated by Django 3.2.12 on 2024-04-18 15:19 + +from django.db import migrations, models + + +class Migration(migrations.Migration): + + dependencies = [ + ('ifbcat_api', '0189_auto_20221129_1354'), + ] + + operations = [ + migrations.AlterField( + model_name='team', + name='ifbMembership', + field=models.CharField( + choices=[ + ('Associated Team', 'Associated Team'), + ('Contributing platform', 'Contributing platform'), + ('Coordinating platform', 'Coordinating platform'), + ('Member platform', 'Member platform'), + ('None', 'None'), + ], + default='None', + help_text='Type of membership the bioinformatics team has to IFB.', + max_length=255, + ), + ), + ] diff --git a/ifbcat_api/model/team.py b/ifbcat_api/model/team.py index 5115318..62390c6 100644 --- a/ifbcat_api/model/team.py +++ b/ifbcat_api/model/team.py @@ -181,9 +181,10 @@ class CertificationType(models.TextChoices): ############################# class IfbMembershipType(models.TextChoices): - MEMBER_PLATFORM = 'Member platform', _('Member platform') - CONTRIBUTING_TEAM = 'Contributing platform', _('Contributing platform') ASSOCIATED_TEAM = 'Associated Team', _('Associated Team') + CONTRIBUTING_TEAM = 'Contributing platform', _('Contributing platform') + COORDINATING_TEAM = 'Coordinating platform', _('Coordinating platform') + MEMBER_PLATFORM = 'Member platform', _('Member platform') NO_MEMBERSHIP = 'None', _('None') ifbMembership = models.CharField(