Commit d299af0d by muhammad-ammar

address feedback

parent d5ec9e5e
# -*- coding: utf-8 -*- # -*- coding: utf-8 -*-
# Generated by Django 1.11.4 on 2017-09-22 07:13 # Generated by Django 1.11.4 on 2017-09-25 09:49
from __future__ import unicode_literals from __future__ import unicode_literals
from django.db import migrations, models from django.db import migrations, models
...@@ -27,7 +27,7 @@ class Migration(migrations.Migration): ...@@ -27,7 +27,7 @@ class Migration(migrations.Migration):
('cielo24_turnaround', models.CharField(blank=True, choices=[(b'STANDARD', b'Standard, 48h'), (b'PRIORITY', b'Priority, 24h')], max_length=20, null=True, verbose_name=b'Cielo24 Turnaround')), ('cielo24_turnaround', models.CharField(blank=True, choices=[(b'STANDARD', b'Standard, 48h'), (b'PRIORITY', b'Priority, 24h')], max_length=20, null=True, verbose_name=b'Cielo24 Turnaround')),
('three_play_turnaround', models.CharField(blank=True, choices=[(b'extended_service', b'10-Day/Extended'), (b'default', b'4-Day/Default'), (b'expedited_service', b'2-Day/Expedited'), (b'rush_service', b'24 hour/Rush'), (b'same_day_service', b'Same Day')], max_length=20, null=True, verbose_name=b'3PlayMedia Turnaround')), ('three_play_turnaround', models.CharField(blank=True, choices=[(b'extended_service', b'10-Day/Extended'), (b'default', b'4-Day/Default'), (b'expedited_service', b'2-Day/Expedited'), (b'rush_service', b'24 hour/Rush'), (b'same_day_service', b'Same Day')], max_length=20, null=True, verbose_name=b'3PlayMedia Turnaround')),
('preferred_languages', edxval.models.ListField(blank=True, default=[], max_items=50, verbose_name=b'Preferred Languages')), ('preferred_languages', edxval.models.ListField(blank=True, default=[], max_items=50, verbose_name=b'Preferred Languages')),
('video_source_language', models.CharField(blank=True, help_text=b'This is the source language of a video.', max_length=20, null=True, verbose_name=b'Video Source Language')), ('video_source_language', models.CharField(blank=True, help_text=b'Used by 3PlayMedia to know the source language of a video.', max_length=8, null=True, verbose_name=b'Video Source Language')),
], ],
options={ options={
'abstract': False, 'abstract': False,
......
...@@ -602,10 +602,10 @@ class TranscriptPreference(TimeStampedModel): ...@@ -602,10 +602,10 @@ class TranscriptPreference(TimeStampedModel):
preferred_languages = ListField(verbose_name='Preferred Languages', max_items=50, default=[], blank=True) preferred_languages = ListField(verbose_name='Preferred Languages', max_items=50, default=[], blank=True)
video_source_language = models.CharField( video_source_language = models.CharField(
verbose_name='Video Source Language', verbose_name='Video Source Language',
max_length=20, max_length=8,
null=True, null=True,
blank=True, blank=True,
help_text='This is the source language of a video.' help_text='Used by 3PlayMedia to know the source language of a video.'
) )
def __unicode__(self): def __unicode__(self):
......
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