# Generated by Django 4.2.7 on 2023-11-21 16:49

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


class Migration(migrations.Migration):

    dependencies = [
        ('contenttypes', '0002_remove_content_type_name'),
        ('GeneralApp', '0001_initial'),
    ]

    operations = [
        migrations.RemoveField(
            model_name='block',
            name='background_image_left',
        ),
        migrations.RemoveField(
            model_name='block',
            name='background_image_right',
        ),
        migrations.RemoveField(
            model_name='staticpage',
            name='background_image_left',
        ),
        migrations.RemoveField(
            model_name='staticpage',
            name='background_image_right',
        ),
        migrations.AddField(
            model_name='block',
            name='bg_color',
            field=colorfield.fields.ColorField(default='#FFFFFF', image_field=None, max_length=25, samples=None, verbose_name='Цвет фона'),
        ),
        migrations.AddField(
            model_name='block',
            name='block_type',
            field=models.CharField(default='photo_n_text', max_length=100, verbose_name='Тип блока'),
        ),
        migrations.AddField(
            model_name='block',
            name='but_color',
            field=colorfield.fields.ColorField(default='#000000', image_field=None, max_length=25, samples=None, verbose_name='Цвет кнопки'),
        ),
        migrations.AddField(
            model_name='block',
            name='but_title',
            field=models.CharField(blank=True, max_length=100, null=True, verbose_name='Текст на кнопке'),
        ),
        migrations.AddField(
            model_name='block',
            name='child_in_row_count',
            field=models.PositiveSmallIntegerField(default=3, verbose_name='Количество дочерних элементов в строке'),
        ),
        migrations.AddField(
            model_name='block',
            name='content_type',
            field=models.ForeignKey(null=True, on_delete=django.db.models.deletion.SET_NULL, to='contenttypes.contenttype'),
        ),
        migrations.AddField(
            model_name='block',
            name='object_id',
            field=models.PositiveIntegerField(default=0),
            preserve_default=False,
        ),
    ]
