# Generated by Django 2.2.15 on 2020-12-16 07:23

from django.db import migrations, models
import lms.moduletypes.models


class Migration(migrations.Migration):

    initial = True

    dependencies = [
    ]

    operations = [
        migrations.CreateModel(
            name='ModuleType',
            fields=[
                ('id', models.AutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')),
                ('app_label', models.CharField(max_length=100)),
                ('model', models.CharField(max_length=100, verbose_name='python model class name')),
                ('is_active', models.BooleanField(default=True, verbose_name='активен')),
            ],
            options={
                'verbose_name': 'тип модуля',
                'verbose_name_plural': 'типы модулей',
                'unique_together': {('app_label', 'model')},
            },
            managers=[
                ('objects', lms.moduletypes.models.ModuleTypeManager()),
            ],
        ),
    ]
