text: # Generated by Django 3.0.11 on 2021-03-24 20:04
  
  from django.db import migrations, models
  import django.db.models.deletion
  import modelcluster.fields
  import wagtail.core.blocks
  import wagtail.core.fields
  import wagtail.embeds.blocks
  import wagtail.images.blocks
  
  
  class Migration(migrations.Migration):
  
      dependencies = [
          ('common', '__first__'),
          ('home', '0005_homepage_quotations'),
      ]
  
      operations = [
          migrations.AddField(
              model_name='homepage',
              name='body',
              field=wagtail.core.fields.StreamField([('heading_block', wagtail.core.blocks.StructBlock([('heading_text', wagtail.core.blocks.CharBlock(form_classname='title', required=True)), ('size', wagtail.core.blocks.ChoiceBlock(blank=True, choices=[('', 'Select a header size'), ('h2', 'H2'), ('h3', 'H3'), ('h4', 'H4')], required=False))])), ('paragraph_block', wagtail.core.blocks.RichTextBlock(icon='fa-paragraph', template='common/blocks/paragraph_block.html')), ('image_block', wagtail.core.blocks.StructBlock([('image', wagtail.images.blocks.ImageChooserBlock(required=True)), ('caption', wagtail.core.blocks.CharBlock(required=False)), ('attribution', wagtail.core.blocks.CharBlock(required=False))])), ('block_quote', wagtail.core.blocks.StructBlock([('text', wagtail.core.blocks.TextBlock()), ('attribute_name', wagtail.core.blocks.CharBlock(blank=True, label='e.g. Mary Berry', required=False))])), ('embed_block', wagtail.embeds.blocks.EmbedBlock(help_text='Insert an embed URL e.g https://www.youtube.com/embed/SGJFWirQ3ks', icon='fa-s15', template='blocks/embed_block.html'))], blank=True, verbose_name='Page body'),
          ),
          migrations.CreateModel(
              name='CounterPageAdvertPlacement',
              fields=[
                  ('id', models.AutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')),
                  ('sort_order', models.IntegerField(blank=True, editable=False, null=True)),
                  ('counter', models.ForeignKey(on_delete=django.db.models.deletion.CASCADE, related_name='+', to='common.Counter')),
                  ('page', modelcluster.fields.ParentalKey(on_delete=django.db.models.deletion.CASCADE, related_name='counter_placements', to='home.HomePage')),
              ],
              options={
                  'verbose_name': 'counter placement',
                  'verbose_name_plural': 'counter placements',
                  'ordering': ['sort_order'],
                  'abstract': False,
              },
          ),
      ]
  