# Generated by Django 3.2.7 on 2021-09-21 00:47

from django.db import migrations, models
import django.db.models.deletion
import home.blocks
import wagtail.core.blocks
import wagtail.core.fields
import wagtail.images.blocks


class Migration(migrations.Migration):

    dependencies = [
        ('wagtailimages', '0023_add_choose_permissions'),
        ('wagtailcore', '0062_comment_models_and_pagesubscription'),
        ('home', '0002_create_homepage'),
    ]

    operations = [
        migrations.AddField(
            model_name='homepage',
            name='banner_background_image',
            field=models.ForeignKey(help_text='The banner background image', null=True, on_delete=django.db.models.deletion.SET_NULL, related_name='+', to='wagtailimages.image'),
        ),
        migrations.AddField(
            model_name='homepage',
            name='body',
            field=wagtail.core.fields.StreamField([('title', wagtail.core.blocks.StructBlock([('text', wagtail.core.blocks.CharBlock(help_text='Text to display', required=True))])), ('cards', wagtail.core.blocks.StructBlock([('cards', wagtail.core.blocks.ListBlock(wagtail.core.blocks.StructBlock([('title', wagtail.core.blocks.CharBlock(help_text='Bold title text for this card.', max_length=100)), ('text', wagtail.core.blocks.TextBlock(help_text='Optional text for this card.', max_length=255, required=False)), ('image', wagtail.images.blocks.ImageChooserBlock(help_text='Image will be auto. cropped to 570x770')), ('link', wagtail.core.blocks.StructBlock([('link_text', wagtail.core.blocks.CharBlock(max_length=25)), ('internal_page', wagtail.core.blocks.PageChooserBlock(required=False)), ('external_link', wagtail.core.blocks.URLBlock(required=False))], help_text='Enter a link'))])))])), ('ImageAndTextBlock', wagtail.core.blocks.StructBlock([('image', wagtail.images.blocks.ImageChooserBlock(help_text='Image will be auto. cropped to 786x552')), ('image_alignment', wagtail.core.blocks.ChoiceBlock(choices=[('left', 'Image to the left'), ('right', 'Image to the right')], help_text='Image on the left with text on the right. Or image on the right with text on the left.')), ('title', wagtail.core.blocks.CharBlock(help_text='Max length of 60 characters', max_length=60)), ('text', wagtail.core.blocks.CharBlock(help_text='Max length of 120 characters', max_length=140, required=False)), ('link', wagtail.core.blocks.StructBlock([('link_text', wagtail.core.blocks.CharBlock(max_length=25)), ('internal_page', wagtail.core.blocks.PageChooserBlock(required=False)), ('external_link', wagtail.core.blocks.URLBlock(required=False))]))])), ('cta', wagtail.core.blocks.StructBlock([('title', wagtail.core.blocks.CharBlock(help_text='Max length of 200 characters', max_length=200)), ('link', wagtail.core.blocks.StructBlock([('link_text', wagtail.core.blocks.CharBlock(max_length=25)), ('internal_page', wagtail.core.blocks.PageChooserBlock(required=False)), ('external_link', wagtail.core.blocks.URLBlock(required=False))]))])), ('pricing_table', home.blocks.PrincingTableBlock(table_options={'autoColumnSize': False, 'colHeaders': False, 'contextMenu': ['row_above', 'row_below', '---------', 'col_left', 'col_right', '---------', 'remove_row', 'remove_col', '---------', 'undo', 'redo'], 'editor': 'text', 'height': 108, 'minSpareRows': 0, 'rowHeaders': True, 'startCols': 4, 'startRows': 4, 'stretchH': 'all'}))], blank=True, null=True),
        ),
        migrations.AddField(
            model_name='homepage',
            name='button',
            field=models.ForeignKey(blank=True, help_text='Select an optional page link to', null=True, on_delete=django.db.models.deletion.SET_NULL, related_name='+', to='wagtailcore.page'),
        ),
        migrations.AddField(
            model_name='homepage',
            name='button_text',
            field=models.CharField(default='Read more', help_text='Button text', max_length=50),
        ),
        migrations.AddField(
            model_name='homepage',
            name='lead_text',
            field=models.CharField(blank=True, help_text='Banner title here', max_length=140),
        ),
    ]

b9bf3d3a8030933df8b82814574da1038f1e8127
<mask token>

<mask token>


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

<mask token>


class Migration(migrations.Migration):
    dependencies = [('wagtailimages', '0023_add_choose_permissions'), (
        'wagtailcore', '0062_comment_models_and_pagesubscription'), ('home',
        '0002_create_homepage')]
    operations = [migrations.AddField(model_name='homepage', name=
        'banner_background_image', field=models.ForeignKey(help_text=
        'The banner background image', null=True, on_delete=django.db.
        models.deletion.SET_NULL, related_name='+', to=
        'wagtailimages.image')), migrations.AddField(model_name='homepage',
        name='body', field=wagtail.core.fields.StreamField([('title',
        wagtail.core.blocks.StructBlock([('text', wagtail.core.blocks.
        CharBlock(help_text='Text to display', required=True))])), ('cards',
        wagtail.core.blocks.StructBlock([('cards', wagtail.core.blocks.
        ListBlock(wagtail.core.blocks.StructBlock([('title', wagtail.core.
        blocks.CharBlock(help_text='Bold title text for this card.',
        max_length=100)), ('text', wagtail.core.blocks.TextBlock(help_text=
        'Optional text for this card.', max_length=255, required=False)), (
        'image', wagtail.images.blocks.ImageChooserBlock(help_text=
        'Image will be auto. cropped to 570x770')), ('link', wagtail.core.
        blocks.StructBlock([('link_text', wagtail.core.blocks.CharBlock(
        max_length=25)), ('internal_page', wagtail.core.blocks.
        PageChooserBlock(required=False)), ('external_link', wagtail.core.
        blocks.URLBlock(required=False))], help_text='Enter a link'))])))])
        ), ('ImageAndTextBlock', wagtail.core.blocks.StructBlock([('image',
        wagtail.images.blocks.ImageChooserBlock(help_text=
        'Image will be auto. cropped to 786x552')), ('image_alignment',
        wagtail.core.blocks.ChoiceBlock(choices=[('left',
        'Image to the left'), ('right', 'Image to the right')], help_text=
        'Image on the left with text on the right. Or image on the right with text on the left.'
        )), ('title', wagtail.core.blocks.CharBlock(help_text=
        'Max length of 60 characters', max_length=60)), ('text', wagtail.
        core.blocks.CharBlock(help_text='Max length of 120 characters',
        max_length=140, required=False)), ('link', wagtail.core.blocks.
        StructBlock([('link_text', wagtail.core.blocks.CharBlock(max_length
        =25)), ('internal_page', wagtail.core.blocks.PageChooserBlock(
        required=False)), ('external_link', wagtail.core.blocks.URLBlock(
        required=False))]))])), ('cta', wagtail.core.blocks.StructBlock([(
        'title', wagtail.core.blocks.CharBlock(help_text=
        'Max length of 200 characters', max_length=200)), ('link', wagtail.
        core.blocks.StructBlock([('link_text', wagtail.core.blocks.
        CharBlock(max_length=25)), ('internal_page', wagtail.core.blocks.
        PageChooserBlock(required=False)), ('external_link', wagtail.core.
        blocks.URLBlock(required=False))]))])), ('pricing_table', home.
        blocks.PrincingTableBlock(table_options={'autoColumnSize': False,
        'colHeaders': False, 'contextMenu': ['row_above', 'row_below',
        '---------', 'col_left', 'col_right', '---------', 'remove_row',
        'remove_col', '---------', 'undo', 'redo'], 'editor': 'text',
        'height': 108, 'minSpareRows': 0, 'rowHeaders': True, 'startCols': 
        4, 'startRows': 4, 'stretchH': 'all'}))], blank=True, null=True)),
        migrations.AddField(model_name='homepage', name='button', field=
        models.ForeignKey(blank=True, help_text=
        'Select an optional page link to', null=True, on_delete=django.db.
        models.deletion.SET_NULL, related_name='+', to='wagtailcore.page')),
        migrations.AddField(model_name='homepage', name='button_text',
        field=models.CharField(default='Read more', help_text='Button text',
        max_length=50)), migrations.AddField(model_name='homepage', name=
        'lead_text', field=models.CharField(blank=True, help_text=
        'Banner title here', max_length=140))]

from django.db import migrations, models
import django.db.models.deletion
import home.blocks
import wagtail.core.blocks
import wagtail.core.fields
import wagtail.images.blocks


class Migration(migrations.Migration):
    dependencies = [('wagtailimages', '0023_add_choose_permissions'), (
        'wagtailcore', '0062_comment_models_and_pagesubscription'), ('home',
        '0002_create_homepage')]
    operations = [migrations.AddField(model_name='homepage', name=
        'banner_background_image', field=models.ForeignKey(help_text=
        'The banner background image', null=True, on_delete=django.db.
        models.deletion.SET_NULL, related_name='+', to=
        'wagtailimages.image')), migrations.AddField(model_name='homepage',
        name='body', field=wagtail.core.fields.StreamField([('title',
        wagtail.core.blocks.StructBlock([('text', wagtail.core.blocks.
        CharBlock(help_text='Text to display', required=True))])), ('cards',
        wagtail.core.blocks.StructBlock([('cards', wagtail.core.blocks.
        ListBlock(wagtail.core.blocks.StructBlock([('title', wagtail.core.
        blocks.CharBlock(help_text='Bold title text for this card.',
        max_length=100)), ('text', wagtail.core.blocks.TextBlock(help_text=
        'Optional text for this card.', max_length=255, required=False)), (
        'image', wagtail.images.blocks.ImageChooserBlock(help_text=
        'Image will be auto. cropped to 570x770')), ('link', wagtail.core.
        blocks.StructBlock([('link_text', wagtail.core.blocks.CharBlock(
        max_length=25)), ('internal_page', wagtail.core.blocks.
        PageChooserBlock(required=False)), ('external_link', wagtail.core.
        blocks.URLBlock(required=False))], help_text='Enter a link'))])))])
        ), ('ImageAndTextBlock', wagtail.core.blocks.StructBlock([('image',
        wagtail.images.blocks.ImageChooserBlock(help_text=
        'Image will be auto. cropped to 786x552')), ('image_alignment',
        wagtail.core.blocks.ChoiceBlock(choices=[('left',
        'Image to the left'), ('right', 'Image to the right')], help_text=
        'Image on the left with text on the right. Or image on the right with text on the left.'
        )), ('title', wagtail.core.blocks.CharBlock(help_text=
        'Max length of 60 characters', max_length=60)), ('text', wagtail.
        core.blocks.CharBlock(help_text='Max length of 120 characters',
        max_length=140, required=False)), ('link', wagtail.core.blocks.
        StructBlock([('link_text', wagtail.core.blocks.CharBlock(max_length
        =25)), ('internal_page', wagtail.core.blocks.PageChooserBlock(
        required=False)), ('external_link', wagtail.core.blocks.URLBlock(
        required=False))]))])), ('cta', wagtail.core.blocks.StructBlock([(
        'title', wagtail.core.blocks.CharBlock(help_text=
        'Max length of 200 characters', max_length=200)), ('link', wagtail.
        core.blocks.StructBlock([('link_text', wagtail.core.blocks.
        CharBlock(max_length=25)), ('internal_page', wagtail.core.blocks.
        PageChooserBlock(required=False)), ('external_link', wagtail.core.
        blocks.URLBlock(required=False))]))])), ('pricing_table', home.
        blocks.PrincingTableBlock(table_options={'autoColumnSize': False,
        'colHeaders': False, 'contextMenu': ['row_above', 'row_below',
        '---------', 'col_left', 'col_right', '---------', 'remove_row',
        'remove_col', '---------', 'undo', 'redo'], 'editor': 'text',
        'height': 108, 'minSpareRows': 0, 'rowHeaders': True, 'startCols': 
        4, 'startRows': 4, 'stretchH': 'all'}))], blank=True, null=True)),
        migrations.AddField(model_name='homepage', name='button', field=
        models.ForeignKey(blank=True, help_text=
        'Select an optional page link to', null=True, on_delete=django.db.
        models.deletion.SET_NULL, related_name='+', to='wagtailcore.page')),
        migrations.AddField(model_name='homepage', name='button_text',
        field=models.CharField(default='Read more', help_text='Button text',
        max_length=50)), migrations.AddField(model_name='homepage', name=
        'lead_text', field=models.CharField(blank=True, help_text=
        'Banner title here', max_length=140))]

# Generated by Django 3.2.7 on 2021-09-21 00:47

from django.db import migrations, models
import django.db.models.deletion
import home.blocks
import wagtail.core.blocks
import wagtail.core.fields
import wagtail.images.blocks


class Migration(migrations.Migration):

    dependencies = [
        ('wagtailimages', '0023_add_choose_permissions'),
        ('wagtailcore', '0062_comment_models_and_pagesubscription'),
        ('home', '0002_create_homepage'),
    ]

    operations = [
        migrations.AddField(
            model_name='homepage',
            name='banner_background_image',
            field=models.ForeignKey(help_text='The banner background image', null=True, on_delete=django.db.models.deletion.SET_NULL, related_name='+', to='wagtailimages.image'),
        ),
        migrations.AddField(
            model_name='homepage',
            name='body',
            field=wagtail.core.fields.StreamField([('title', wagtail.core.blocks.StructBlock([('text', wagtail.core.blocks.CharBlock(help_text='Text to display', required=True))])), ('cards', wagtail.core.blocks.StructBlock([('cards', wagtail.core.blocks.ListBlock(wagtail.core.blocks.StructBlock([('title', wagtail.core.blocks.CharBlock(help_text='Bold title text for this card.', max_length=100)), ('text', wagtail.core.blocks.TextBlock(help_text='Optional text for this card.', max_length=255, required=False)), ('image', wagtail.images.blocks.ImageChooserBlock(help_text='Image will be auto. cropped to 570x770')), ('link', wagtail.core.blocks.StructBlock([('link_text', wagtail.core.blocks.CharBlock(max_length=25)), ('internal_page', wagtail.core.blocks.PageChooserBlock(required=False)), ('external_link', wagtail.core.blocks.URLBlock(required=False))], help_text='Enter a link'))])))])), ('ImageAndTextBlock', wagtail.core.blocks.StructBlock([('image', wagtail.images.blocks.ImageChooserBlock(help_text='Image will be auto. cropped to 786x552')), ('image_alignment', wagtail.core.blocks.ChoiceBlock(choices=[('left', 'Image to the left'), ('right', 'Image to the right')], help_text='Image on the left with text on the right. Or image on the right with text on the left.')), ('title', wagtail.core.blocks.CharBlock(help_text='Max length of 60 characters', max_length=60)), ('text', wagtail.core.blocks.CharBlock(help_text='Max length of 120 characters', max_length=140, required=False)), ('link', wagtail.core.blocks.StructBlock([('link_text', wagtail.core.blocks.CharBlock(max_length=25)), ('internal_page', wagtail.core.blocks.PageChooserBlock(required=False)), ('external_link', wagtail.core.blocks.URLBlock(required=False))]))])), ('cta', wagtail.core.blocks.StructBlock([('title', wagtail.core.blocks.CharBlock(help_text='Max length of 200 characters', max_length=200)), ('link', wagtail.core.blocks.StructBlock([('link_text', wagtail.core.blocks.CharBlock(max_length=25)), ('internal_page', wagtail.core.blocks.PageChooserBlock(required=False)), ('external_link', wagtail.core.blocks.URLBlock(required=False))]))])), ('pricing_table', home.blocks.PrincingTableBlock(table_options={'autoColumnSize': False, 'colHeaders': False, 'contextMenu': ['row_above', 'row_below', '---------', 'col_left', 'col_right', '---------', 'remove_row', 'remove_col', '---------', 'undo', 'redo'], 'editor': 'text', 'height': 108, 'minSpareRows': 0, 'rowHeaders': True, 'startCols': 4, 'startRows': 4, 'stretchH': 'all'}))], blank=True, null=True),
        ),
        migrations.AddField(
            model_name='homepage',
            name='button',
            field=models.ForeignKey(blank=True, help_text='Select an optional page link to', null=True, on_delete=django.db.models.deletion.SET_NULL, related_name='+', to='wagtailcore.page'),
        ),
        migrations.AddField(
            model_name='homepage',
            name='button_text',
            field=models.CharField(default='Read more', help_text='Button text', max_length=50),
        ),
        migrations.AddField(
            model_name='homepage',
            name='lead_text',
            field=models.CharField(blank=True, help_text='Banner title here', max_length=140),
        ),
    ]
