# Generated by Django 2.2.3 on 2019-08-01 12:26

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


class Migration(migrations.Migration):

    initial = True

    dependencies = [
    ]

    operations = [
        migrations.CreateModel(
            name='Category',
            fields=[
                ('id', models.AutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')),
                ('title', models.CharField(max_length=30)),
                ('pub_date', models.DateTimeField(default=django.utils.datetime_safe.datetime.now)),
            ],
        ),
        migrations.CreateModel(
            name='Post',
            fields=[
                ('id', models.AutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')),
                ('title', models.CharField(max_length=30)),
                ('description', models.TextField()),
                ('post_image', models.ImageField(default='pic_folder/None/no-img.jpg', upload_to='pic_folder/')),
                ('pub_date', models.DateTimeField(default=django.utils.datetime_safe.datetime.now)),
                ('category', models.ManyToManyField(to='blog.Category')),
            ],
        ),
        migrations.CreateModel(
            name='Comments',
            fields=[
                ('id', models.AutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')),
                ('text', models.CharField(max_length=500)),
                ('pub_date', models.DateTimeField(default=django.utils.datetime_safe.datetime.now)),
                ('post', models.ForeignKey(on_delete=django.db.models.deletion.CASCADE, to='blog.Post')),
            ],
            options={
                'get_latest_by': 'pub_date',
            },
        ),
    ]

93ccf11db3aa1a45a6bf72fb41a36e08328b807c
<mask token>

<mask token>


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

<mask token>


class Migration(migrations.Migration):
    initial = True
    dependencies = []
    operations = [migrations.CreateModel(name='Category', fields=[('id',
        models.AutoField(auto_created=True, primary_key=True, serialize=
        False, verbose_name='ID')), ('title', models.CharField(max_length=
        30)), ('pub_date', models.DateTimeField(default=django.utils.
        datetime_safe.datetime.now))]), migrations.CreateModel(name='Post',
        fields=[('id', models.AutoField(auto_created=True, primary_key=True,
        serialize=False, verbose_name='ID')), ('title', models.CharField(
        max_length=30)), ('description', models.TextField()), ('post_image',
        models.ImageField(default='pic_folder/None/no-img.jpg', upload_to=
        'pic_folder/')), ('pub_date', models.DateTimeField(default=django.
        utils.datetime_safe.datetime.now)), ('category', models.
        ManyToManyField(to='blog.Category'))]), migrations.CreateModel(name
        ='Comments', fields=[('id', models.AutoField(auto_created=True,
        primary_key=True, serialize=False, verbose_name='ID')), ('text',
        models.CharField(max_length=500)), ('pub_date', models.
        DateTimeField(default=django.utils.datetime_safe.datetime.now)), (
        'post', models.ForeignKey(on_delete=django.db.models.deletion.
        CASCADE, to='blog.Post'))], options={'get_latest_by': 'pub_date'})]

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


class Migration(migrations.Migration):
    initial = True
    dependencies = []
    operations = [migrations.CreateModel(name='Category', fields=[('id',
        models.AutoField(auto_created=True, primary_key=True, serialize=
        False, verbose_name='ID')), ('title', models.CharField(max_length=
        30)), ('pub_date', models.DateTimeField(default=django.utils.
        datetime_safe.datetime.now))]), migrations.CreateModel(name='Post',
        fields=[('id', models.AutoField(auto_created=True, primary_key=True,
        serialize=False, verbose_name='ID')), ('title', models.CharField(
        max_length=30)), ('description', models.TextField()), ('post_image',
        models.ImageField(default='pic_folder/None/no-img.jpg', upload_to=
        'pic_folder/')), ('pub_date', models.DateTimeField(default=django.
        utils.datetime_safe.datetime.now)), ('category', models.
        ManyToManyField(to='blog.Category'))]), migrations.CreateModel(name
        ='Comments', fields=[('id', models.AutoField(auto_created=True,
        primary_key=True, serialize=False, verbose_name='ID')), ('text',
        models.CharField(max_length=500)), ('pub_date', models.
        DateTimeField(default=django.utils.datetime_safe.datetime.now)), (
        'post', models.ForeignKey(on_delete=django.db.models.deletion.
        CASCADE, to='blog.Post'))], options={'get_latest_by': 'pub_date'})]

# Generated by Django 2.2.3 on 2019-08-01 12:26

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


class Migration(migrations.Migration):

    initial = True

    dependencies = [
    ]

    operations = [
        migrations.CreateModel(
            name='Category',
            fields=[
                ('id', models.AutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')),
                ('title', models.CharField(max_length=30)),
                ('pub_date', models.DateTimeField(default=django.utils.datetime_safe.datetime.now)),
            ],
        ),
        migrations.CreateModel(
            name='Post',
            fields=[
                ('id', models.AutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')),
                ('title', models.CharField(max_length=30)),
                ('description', models.TextField()),
                ('post_image', models.ImageField(default='pic_folder/None/no-img.jpg', upload_to='pic_folder/')),
                ('pub_date', models.DateTimeField(default=django.utils.datetime_safe.datetime.now)),
                ('category', models.ManyToManyField(to='blog.Category')),
            ],
        ),
        migrations.CreateModel(
            name='Comments',
            fields=[
                ('id', models.AutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')),
                ('text', models.CharField(max_length=500)),
                ('pub_date', models.DateTimeField(default=django.utils.datetime_safe.datetime.now)),
                ('post', models.ForeignKey(on_delete=django.db.models.deletion.CASCADE, to='blog.Post')),
            ],
            options={
                'get_latest_by': 'pub_date',
            },
        ),
    ]
