# Generated by Django 2.2.15 on 2020-10-14 11:22

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


class Migration(migrations.Migration):

    dependencies = [
        ('auth', '0011_update_proxy_permissions'),
        ('courses', '0015_hrdb_id'),
    ]

    operations = [
        migrations.CreateModel(
            name='CourseTeam',
            fields=[
                ('group_ptr', models.OneToOneField(auto_created=True, on_delete=django.db.models.deletion.CASCADE, parent_link=True, primary_key=True, serialize=False, to='auth.Group')),
            ],
            options={
                'verbose_name': 'Команда курса',
                'verbose_name_plural': 'Команды курсов',
                'ordering': ('name',),
            },
            bases=('auth.group',),
            managers=[
                ('objects', django.contrib.auth.models.GroupManager()),
            ],
        ),
        migrations.AddField(
            model_name='course',
            name='teams',
            field=models.ManyToManyField(blank=True, to='courses.CourseTeam', verbose_name='команды курса'),
        ),
    ]
