# Generated by Django 3.2.8 on 2021-11-07 14:07

from django.db import migrations, models


class Migration(migrations.Migration):

    dependencies = [
        ('internal', '0165_alter_member_room'),
        ('research', '0105_alter_researchequipment_facility'),
    ]

    operations = [
        migrations.CreateModel(
            name='Open_Thesis',
            fields=[
                ('id', models.BigAutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')),
                ('pub_type', models.CharField(blank=True, choices=[('Project', 'Project'), ('Bachelor', 'Bachelor'), ('Master,', 'Master'), ('Diplom', 'Diplom'), ('PhD', 'PhD')], default='Master', help_text='Thesis  type', max_length=20, null=True)),
                ('title', models.TextField(max_length=500)),
                ('abstract', models.TextField(blank=True, help_text='Enter thesis abstract', max_length=5000, null=True)),
                ('cover_image', models.ImageField(blank=True, null=True, upload_to='uploads/thesis/img/')),
                ('pdf_file', models.FileField(blank=True, null=True, upload_to='uploads/open_thesis/pdf/')),
                ('group', models.ManyToManyField(blank=True, related_name='openthesis_group', to='internal.Group')),
                ('project', models.ManyToManyField(blank=True, related_name='openthesis_project', to='research.Project')),
                ('supervisor', models.ManyToManyField(related_name='openthesis_supervisor', to='internal.Member')),
            ],
            options={
                'verbose_name_plural': 'Open Thesis',
            },
        ),
    ]
