Commit e91eae3a authored by Matthieu Gautier's avatar Matthieu Gautier

Set real name for the themes.

parent 7eb17f04
# -*- coding: utf-8 -*-
# Generated by Django 1.11.5 on 2018-01-19 16:17
from __future__ import unicode_literals
from django.db import migrations, models
class Migration(migrations.Migration):
dependencies = [
('irfi', '0001_initial'),
]
operations = [
migrations.AlterField(
model_name='radioshow',
name='theme',
field=models.CharField(choices=[('healthcare', 'Access to health care.'), ('education', 'Access and quality of education.'), ('environment', 'Respect and protection of the environment, ecotourism.'), ('agriculture', 'Production and agricultural consumption.'), ('water_energy', 'Access and management of water and energy.'), ('women_rights', "Women's rights."), ('civil_rights', 'Participatory management and civil rights.'), ('youth', 'Youth and perspectives.'), ('culture', 'Arts, culture and heritage.'), ('migration', 'Migration and integration.'), ('media_local', 'Impact of new media on local communication.'), ('misc', 'Miscellaneous')], max_length=255, verbose_name='theme'),
),
]
......@@ -7,12 +7,18 @@ from ideascube.mediacenter.models import Document, DocumentQuerySet
class RadioShow(Document):
THEMES = (
('theme1', _('Theme 1')),
('theme2', _('Theme 2')),
('theme3', _('Theme 3')),
('theme4', _('Theme 4')),
('theme5', _('Theme 5')),
('misc', _('Miscellaneous')),
('healthcare', _('Access to health care.')),
('education', _('Access and quality of education.')),
('environment', _('Respect and protection of the environment, ecotourism.')),
('agriculture', _('Production and agricultural consumption.')),
('water_energy', _('Access and management of water and energy.')),
('women_rights', _("Women's rights.")),
('civil_rights', _('Participatory management and civil rights.')),
('youth', _('Youth and perspectives.')),
('culture', _('Arts, culture and heritage.')),
('migration', _('Migration and integration.')),
('media_local', _('Impact of new media on local communication.')),
('misc', _('Miscellaneous'))
)
air_date = models.DateField(verbose_name=_('air date'))
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment