0004_visibleblocks_course_id.py 671 Bytes
Newer Older
1 2 3 4 5
# -*- coding: utf-8 -*-
from __future__ import unicode_literals

from django.db import migrations, models
from opaque_keys.edx.keys import CourseKey
6
from openedx.core.djangoapps.xmodule_django.models import CourseKeyField
7 8 9 10 11 12 13 14 15 16 17 18


class Migration(migrations.Migration):

    dependencies = [
        ('grades', '0003_coursepersistentgradesflag_persistentgradesenabledflag'),
    ]

    operations = [
        migrations.AddField(
            model_name='visibleblocks',
            name='course_id',
19
            field=CourseKeyField(default=CourseKey.from_string('edX/BerylMonkeys/TNL-5458'), max_length=255, db_index=True),
20 21 22
            preserve_default=False,
        ),
    ]