alpinesmuseum-public/cms/migrations/0002_auto_20210618.py
2022-09-23 07:38:37 +05:30

51 lines
2.7 KiB
Python

# Generated by Django 3.2.3 on 2021-06-18 15:12
from django.db import migrations, models
import wagtail.core.blocks
import wagtail.core.fields
import wagtail.images.blocks
class Migration(migrations.Migration):
replaces = [('cms', '0002_auto_20210618_0831_squashed_0003_imagegallery_squashed_0003_infopage_footer'), ('cms', '0003_auto_20210618_1613')]
dependencies = [
('cms', '0001_cms_initial'),
('wagtailredirects', '0006_redirect_increase_max_length'),
('wagtailcore', '0062_comment_models_and_pagesubscription'),
('wagtailforms', '0004_add_verbose_name_plural'),
]
operations = [
migrations.AlterField(
model_name='contributepage',
name='bottom_details',
field=wagtail.core.fields.StreamField([('paragraph', wagtail.core.blocks.RichTextBlock()), ('medium_text', wagtail.core.blocks.RichTextBlock()), ('h1_big_text', wagtail.core.blocks.TextBlock()), ('image_list', wagtail.core.blocks.StreamBlock([('image', wagtail.images.blocks.ImageChooserBlock())])), ('modal', wagtail.core.blocks.StructBlock([('link_text', wagtail.core.blocks.CharBlock()), ('title', wagtail.core.blocks.CharBlock()), ('content', wagtail.core.blocks.RichTextBlock())]))]),
),
migrations.AlterField(
model_name='genericpage',
name='body',
field=wagtail.core.fields.StreamField([('paragraph', wagtail.core.blocks.RichTextBlock()), ('medium_text', wagtail.core.blocks.RichTextBlock()), ('h1_big_text', wagtail.core.blocks.TextBlock()), ('image_list', wagtail.core.blocks.StreamBlock([('image', wagtail.images.blocks.ImageChooserBlock())])), ('modal', wagtail.core.blocks.StructBlock([('link_text', wagtail.core.blocks.CharBlock()), ('title', wagtail.core.blocks.CharBlock()), ('content', wagtail.core.blocks.RichTextBlock())]))]),
),
migrations.AddField(
model_name='infopage',
name='footer',
field=wagtail.core.fields.StreamField([('modal', wagtail.core.blocks.StructBlock([('link_text', wagtail.core.blocks.CharBlock()), ('title', wagtail.core.blocks.CharBlock()), ('content', wagtail.core.blocks.RichTextBlock())]))], blank=True),
),
migrations.AddField(
model_name='contributepage',
name='menu_link_text',
field=models.CharField(blank=True, max_length=255),
),
migrations.AddField(
model_name='genericpage',
name='menu_link_text',
field=models.CharField(blank=True, max_length=255),
),
migrations.AddField(
model_name='infopage',
name='menu_link_text',
field=models.CharField(blank=True, max_length=255),
),
]