From a7fdf769c49786d52aec61ee506c1ebc442f7a26 Mon Sep 17 00:00:00 2001 From: app Date: Mon, 15 May 2023 13:56:56 +0000 Subject: [PATCH] Add migration home.0036_auto_20230515_1556 --- .../migrations/0036_auto_20230515_1556.py | 36 +++++++++++++++++++ 1 file changed, 36 insertions(+) create mode 100644 publichealth/home/migrations/0036_auto_20230515_1556.py diff --git a/publichealth/home/migrations/0036_auto_20230515_1556.py b/publichealth/home/migrations/0036_auto_20230515_1556.py new file mode 100644 index 0000000..0fe63ff --- /dev/null +++ b/publichealth/home/migrations/0036_auto_20230515_1556.py @@ -0,0 +1,36 @@ +# Generated by Django 3.2.13 on 2023-05-15 13:56 + +from django.db import migrations +import wagtail.core.blocks +import wagtail.core.fields +import wagtail.images.blocks + + +class Migration(migrations.Migration): + + dependencies = [ + ('home', '0035_auto_20230515_1447'), + ] + + operations = [ + migrations.AddField( + model_name='articlepage', + name='html_content', + field=wagtail.core.fields.RichTextField(blank=True), + ), + migrations.AlterField( + model_name='articlepage', + name='body_de', + field=wagtail.core.fields.StreamField([('paragraph', wagtail.core.blocks.RichTextBlock()), ('section', wagtail.core.blocks.CharBlock(form_classname='full title')), ('info', wagtail.core.blocks.StructBlock([('title', wagtail.core.blocks.CharBlock(required=True)), ('photo', wagtail.images.blocks.ImageChooserBlock(required=True)), ('summary', wagtail.core.blocks.RichTextBlock(required=True)), ('action', wagtail.core.blocks.CharBlock(required=False)), ('url', wagtail.core.blocks.URLBlock(required=False))], icon='help')), ('media', wagtail.core.blocks.ChoiceBlock(choices=[('gallery', 'Image gallery')], icon='media'))], blank=True, null=True), + ), + migrations.AlterField( + model_name='articlepage', + name='body_en', + field=wagtail.core.fields.StreamField([('paragraph', wagtail.core.blocks.RichTextBlock()), ('section', wagtail.core.blocks.CharBlock(form_classname='full title')), ('info', wagtail.core.blocks.StructBlock([('title', wagtail.core.blocks.CharBlock(required=True)), ('photo', wagtail.images.blocks.ImageChooserBlock(required=True)), ('summary', wagtail.core.blocks.RichTextBlock(required=True)), ('action', wagtail.core.blocks.CharBlock(required=False)), ('url', wagtail.core.blocks.URLBlock(required=False))], icon='help')), ('media', wagtail.core.blocks.ChoiceBlock(choices=[('gallery', 'Image gallery')], icon='media'))], blank=True, null=True), + ), + migrations.AlterField( + model_name='articlepage', + name='body_fr', + field=wagtail.core.fields.StreamField([('paragraph', wagtail.core.blocks.RichTextBlock()), ('section', wagtail.core.blocks.CharBlock(form_classname='full title')), ('info', wagtail.core.blocks.StructBlock([('title', wagtail.core.blocks.CharBlock(required=True)), ('photo', wagtail.images.blocks.ImageChooserBlock(required=True)), ('summary', wagtail.core.blocks.RichTextBlock(required=True)), ('action', wagtail.core.blocks.CharBlock(required=False)), ('url', wagtail.core.blocks.URLBlock(required=False))], icon='help')), ('media', wagtail.core.blocks.ChoiceBlock(choices=[('gallery', 'Image gallery')], icon='media'))], blank=True, null=True), + ), + ]