# Generated by Django 2.2.11 on 2020-03-22 02:10

from django.db import migrations, models
import django.db.models.deletion
import django_power_cms.models
import mptt.fields


class Migration(migrations.Migration):

    dependencies = [
        ('django_power_cms', '0017_auto_20200321_1838'),
    ]

    operations = [
        migrations.RenameField(
            model_name='topbarwidget',
            old_name='change_password_link',
            new_name='change_password_link_raw',
        ),
        migrations.RenameField(
            model_name='topbarwidget',
            old_name='login_link',
            new_name='login_link_raw',
        ),
        migrations.RenameField(
            model_name='topbarwidget',
            old_name='logout_link',
            new_name='logout_link_raw',
        ),
        migrations.RenameField(
            model_name='topbarwidget',
            old_name='show_change_password_link',
            new_name='show_change_password_link_raw',
        ),
        migrations.RenameField(
            model_name='topbarwidget',
            old_name='show_login_or_logout_link',
            new_name='show_login_or_logout_link_raw',
        ),
        migrations.RenameField(
            model_name='widgetlink',
            old_name='url',
            new_name='url_raw',
        ),
        migrations.AlterField(
            model_name='article',
            name='parent',
            field=mptt.fields.TreeForeignKey(blank=True, limit_choices_to=django_power_cms.models.limit_choices_to_selected_site, null=True, on_delete=django.db.models.deletion.SET_NULL, related_name='children', to='django_power_cms.Article', verbose_name='Article Parent'),
        ),
        migrations.AlterField(
            model_name='article',
            name='site',
            field=models.ForeignKey(blank=True, default=django_power_cms.models.admin_site_get_selected_site, null=True, on_delete=django.db.models.deletion.CASCADE, related_name='articles', to='django_power_cms.Site', verbose_name='Site'),
        ),
        migrations.AlterField(
            model_name='page',
            name='parent',
            field=mptt.fields.TreeForeignKey(blank=True, limit_choices_to=django_power_cms.models.limit_choices_to_selected_site, null=True, on_delete=django.db.models.deletion.SET_NULL, related_name='children', to='django_power_cms.Page', verbose_name='Parent Page'),
        ),
    ]
