# Generated by Django 2.1.2 on 2019-01-04 02:05

from django.db import migrations, models
import django.db.models.deletion
import smart_selects.db_fields


class Migration(migrations.Migration):

    dependencies = [
        ('autopost', '0004_auto_20181104_2104'),
    ]

    operations = [
        migrations.AddField(
            model_name='article',
            name='allow_comments',
            field=models.BooleanField(default=True, verbose_name='allow comments'),
        ),
        migrations.AlterField(
            model_name='category',
            name='parent',
            field=smart_selects.db_fields.ChainedForeignKey(auto_choose=True, blank=True, chained_field='site', chained_model_field='site', null=True, on_delete=django.db.models.deletion.CASCADE, to='autopost.Category', verbose_name='上级菜单'),
        ),
        migrations.AlterField(
            model_name='category',
            name='status',
            field=models.IntegerField(choices=[(0, '隐藏'), (1, '显示'), (2, '主菜单')], default=1, verbose_name='状态'),
        ),
    ]
