Skip to content

Commit

Permalink
Added two producers
Browse files Browse the repository at this point in the history
  • Loading branch information
ingvildh committed Feb 4, 2020
1 parent 06e76ef commit 8f7025a
Show file tree
Hide file tree
Showing 3 changed files with 27 additions and 0 deletions.
2 changes: 2 additions & 0 deletions api_graphql/schema.py
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,8 @@ class SettingsType(graphene.ObjectType):
chief_editor = graphene.String()
radio_editor = graphene.String()
music_producer = graphene.String()
cultural_producer = graphene.String()
entertainment_producer = graphene.String()
privacy_policy = graphene.String()


Expand Down
23 changes: 23 additions & 0 deletions data_models/migrations/0030_add_producers.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
# Generated by Django 2.0.12 on 2020-02-04 20:31

from django.db import migrations, models


class Migration(migrations.Migration):

dependencies = [
('data_models', '0029_post_image_credits'),
]

operations = [
migrations.AddField(
model_name='settings',
name='cultural_producer',
field=models.CharField(default='', max_length=128, verbose_name='Kulturprodusent'),
),
migrations.AddField(
model_name='settings',
name='entertainment_producer',
field=models.CharField(default='', max_length=128, verbose_name='Underholdningsprodusent'),
),
]
2 changes: 2 additions & 0 deletions data_models/models.py
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,8 @@ class Meta:
chief_editor = models.CharField('Ansvarlig redaktør', default="", max_length=128)
radio_editor = models.CharField('Radioredaktør', default="", max_length=128)
music_producer = models.CharField('Musikkprodusent', default="", max_length=128)
cultural_producer = models.CharField('Kulturprodusent', default="", max_length=128)
entertainment_producer = models.CharField('Underholdningsprodusent', default="", max_length=128)

about = models.TextField('Om Radio Revolt')

Expand Down

0 comments on commit 8f7025a

Please sign in to comment.