# Generated by Django 3.0.5 on 2020-04-30 09:49

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


class Migration(migrations.Migration):

    initial = True

    dependencies = [
        ('students', '0001_initial'),
    ]

    operations = [
        migrations.CreateModel(
            name='Course',
            fields=[
                ('id', models.AutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')),
                ('slug', models.SlugField()),
                ('title', models.CharField(max_length=120)),
                ('description', models.TextField()),
                ('allowed_memberships', models.ManyToManyField(to='students.Membership')),
            ],
        ),
        migrations.CreateModel(
            name='Lesson',
            fields=[
                ('id', models.AutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')),
                ('slug', models.SlugField()),
                ('title', models.CharField(max_length=120)),
                ('position', models.IntegerField()),
                ('video_url', models.CharField(max_length=200)),
                ('thumbnail', models.ImageField(upload_to='')),
                ('course', models.ForeignKey(null=True, on_delete=django.db.models.deletion.SET_NULL, to='courses.Course')),
            ],
        ),
        migrations.CreateModel(
            name='Article',
            fields=[
                ('id', models.AutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')),
                ('slug', models.SlugField()),
                ('title', models.CharField(max_length=200)),
                ('pub_date', models.DateTimeField(auto_now_add=True)),
                ('content', ckeditor_uploader.fields.RichTextUploadingField()),
                ('course', models.ForeignKey(null=True, on_delete=django.db.models.deletion.SET_NULL, to='courses.Course')),
            ],
        ),
    ]

fa514b4d2308c613214cc27d830c8504739f8a5d
<mask token>

<mask token>


class Migration(migrations.Migration):
    <mask token>
    <mask token>
    <mask token>

<mask token>


class Migration(migrations.Migration):
    initial = True
    dependencies = [('students', '0001_initial')]
    operations = [migrations.CreateModel(name='Course', fields=[('id',
        models.AutoField(auto_created=True, primary_key=True, serialize=
        False, verbose_name='ID')), ('slug', models.SlugField()), ('title',
        models.CharField(max_length=120)), ('description', models.TextField
        ()), ('allowed_memberships', models.ManyToManyField(to=
        'students.Membership'))]), migrations.CreateModel(name='Lesson',
        fields=[('id', models.AutoField(auto_created=True, primary_key=True,
        serialize=False, verbose_name='ID')), ('slug', models.SlugField()),
        ('title', models.CharField(max_length=120)), ('position', models.
        IntegerField()), ('video_url', models.CharField(max_length=200)), (
        'thumbnail', models.ImageField(upload_to='')), ('course', models.
        ForeignKey(null=True, on_delete=django.db.models.deletion.SET_NULL,
        to='courses.Course'))]), migrations.CreateModel(name='Article',
        fields=[('id', models.AutoField(auto_created=True, primary_key=True,
        serialize=False, verbose_name='ID')), ('slug', models.SlugField()),
        ('title', models.CharField(max_length=200)), ('pub_date', models.
        DateTimeField(auto_now_add=True)), ('content', ckeditor_uploader.
        fields.RichTextUploadingField()), ('course', models.ForeignKey(null
        =True, on_delete=django.db.models.deletion.SET_NULL, to=
        'courses.Course'))])]

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


class Migration(migrations.Migration):
    initial = True
    dependencies = [('students', '0001_initial')]
    operations = [migrations.CreateModel(name='Course', fields=[('id',
        models.AutoField(auto_created=True, primary_key=True, serialize=
        False, verbose_name='ID')), ('slug', models.SlugField()), ('title',
        models.CharField(max_length=120)), ('description', models.TextField
        ()), ('allowed_memberships', models.ManyToManyField(to=
        'students.Membership'))]), migrations.CreateModel(name='Lesson',
        fields=[('id', models.AutoField(auto_created=True, primary_key=True,
        serialize=False, verbose_name='ID')), ('slug', models.SlugField()),
        ('title', models.CharField(max_length=120)), ('position', models.
        IntegerField()), ('video_url', models.CharField(max_length=200)), (
        'thumbnail', models.ImageField(upload_to='')), ('course', models.
        ForeignKey(null=True, on_delete=django.db.models.deletion.SET_NULL,
        to='courses.Course'))]), migrations.CreateModel(name='Article',
        fields=[('id', models.AutoField(auto_created=True, primary_key=True,
        serialize=False, verbose_name='ID')), ('slug', models.SlugField()),
        ('title', models.CharField(max_length=200)), ('pub_date', models.
        DateTimeField(auto_now_add=True)), ('content', ckeditor_uploader.
        fields.RichTextUploadingField()), ('course', models.ForeignKey(null
        =True, on_delete=django.db.models.deletion.SET_NULL, to=
        'courses.Course'))])]

# Generated by Django 3.0.5 on 2020-04-30 09:49

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


class Migration(migrations.Migration):

    initial = True

    dependencies = [
        ('students', '0001_initial'),
    ]

    operations = [
        migrations.CreateModel(
            name='Course',
            fields=[
                ('id', models.AutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')),
                ('slug', models.SlugField()),
                ('title', models.CharField(max_length=120)),
                ('description', models.TextField()),
                ('allowed_memberships', models.ManyToManyField(to='students.Membership')),
            ],
        ),
        migrations.CreateModel(
            name='Lesson',
            fields=[
                ('id', models.AutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')),
                ('slug', models.SlugField()),
                ('title', models.CharField(max_length=120)),
                ('position', models.IntegerField()),
                ('video_url', models.CharField(max_length=200)),
                ('thumbnail', models.ImageField(upload_to='')),
                ('course', models.ForeignKey(null=True, on_delete=django.db.models.deletion.SET_NULL, to='courses.Course')),
            ],
        ),
        migrations.CreateModel(
            name='Article',
            fields=[
                ('id', models.AutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')),
                ('slug', models.SlugField()),
                ('title', models.CharField(max_length=200)),
                ('pub_date', models.DateTimeField(auto_now_add=True)),
                ('content', ckeditor_uploader.fields.RichTextUploadingField()),
                ('course', models.ForeignKey(null=True, on_delete=django.db.models.deletion.SET_NULL, to='courses.Course')),
            ],
        ),
    ]
