aboutsummaryrefslogtreecommitdiff
path: root/weblog/migrations/0010_auto_20190110_1901.py
blob: 9016aff2607dff6a2916fdf75ca8b32fac684f91 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
# Generated by Django 2.0 on 2019-01-10 19:01

import datetime
from django.conf import settings
from django.db import migrations, models
import django.db.models.deletion


class Migration(migrations.Migration):

    dependencies = [
        ('weblog', '0009_merge_20190104_2123'),
    ]

    operations = [
        migrations.AddField(
            model_name='postcomment',
            name='publish_date',
            field=models.DateTimeField(default=datetime.datetime(2019, 1, 10, 19, 1, 18, 209024), verbose_name='Publish date'),
        ),
        migrations.AlterField(
            model_name='category',
            name='parent_category',
            field=models.ForeignKey(blank=True, default=None, null=True, on_delete=django.db.models.deletion.SET_DEFAULT, to='weblog.Category', verbose_name='Parent category'),
        ),
        migrations.AlterField(
            model_name='postcomment',
            name='author',
            field=models.ForeignKey(blank=True, null=True, on_delete=django.db.models.deletion.PROTECT, to=settings.AUTH_USER_MODEL, verbose_name='Author'),
        ),
    ]