Skip to content

Commit

Permalink
Merge pull request #309 from IFB-ElixirFr/add-coord-team
Browse files Browse the repository at this point in the history
add Coordinating platform
  • Loading branch information
bryan-brancotte authored Apr 18, 2024
2 parents 7b37b6e + bf23e3f commit 813ba1d
Show file tree
Hide file tree
Showing 2 changed files with 32 additions and 2 deletions.
29 changes: 29 additions & 0 deletions ifbcat_api/migrations/0190_alter_team_ifbmembership.py
Original file line number Diff line number Diff line change
@@ -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,
),
),
]
5 changes: 3 additions & 2 deletions ifbcat_api/model/team.py
Original file line number Diff line number Diff line change
Expand Up @@ -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(
Expand Down

0 comments on commit 813ba1d

Please sign in to comment.