0005_auto_20151217_0958.py 1.04 KB
Newer Older
1 2 3 4 5 6 7 8 9 10 11 12 13
# -*- coding: utf-8 -*-
from __future__ import unicode_literals

from django.db import migrations, models


class Migration(migrations.Migration):

    dependencies = [
        ('course_modes', '0004_auto_20151113_1457'),
    ]

    operations = [
14 15 16 17 18 19 20 21 22 23 24 25 26 27
        migrations.SeparateDatabaseAndState(
            database_operations=[],
            state_operations=[
                    migrations.RemoveField(
                        model_name='coursemode',
                        name='expiration_datetime',
                    ),
                    migrations.AddField(
                        model_name='coursemode',
                        name='_expiration_datetime',
                        field=models.DateTimeField(db_column=b'expiration_datetime', default=None, blank=True, help_text='OPTIONAL: After this date/time, users will no longer be able to enroll in this mode. Leave this blank if users can enroll in this mode until enrollment closes for the course.', null=True, verbose_name='Upgrade Deadline'),
                    ),
            ]
        )
28
    ]