# Generated by Django 3.0.11 on 2022-03-10 09:29

from django.db import migrations, models
import django.db.models.deletion


class Migration(migrations.Migration):

    dependencies = [
        ("courses", "0058_course_type"),
    ]

    operations = [
        migrations.AlterField(
            model_name="course",
            name="format",
            field=models.CharField(
                blank=True,
                choices=[
                    ("self_study", "Самостоятельный"),
                    ("with_teacher", "С преподавателем"),
                ],
                default="",
                max_length=20,
                verbose_name="формат обучения",
            ),
            preserve_default=False,
        ),
        migrations.AlterField(
            model_name="course",
            name="study_mode",
            field=models.ForeignKey(
                blank=True,
                null=True,
                on_delete=django.db.models.deletion.PROTECT,
                related_name="courses",
                to="courses.StudyMode",
                verbose_name="форма обучения",
            ),
        ),
        migrations.AlterField(
            model_name="historicalcourse",
            name="format",
            field=models.CharField(
                blank=True,
                choices=[
                    ("self_study", "Самостоятельный"),
                    ("with_teacher", "С преподавателем"),
                ],
                default="",
                max_length=20,
                verbose_name="формат обучения",
            ),
            preserve_default=False,
        ),
    ]
