public-health-ch/publichealth/home/migrations/0020_auto_20170920_1204.py

29 lines
1.8 KiB
Python
Raw Normal View History

2017-09-20 10:05:58 +00:00
# -*- coding: utf-8 -*-
# Generated by Django 1.11.4 on 2017-09-20 10:04
from __future__ import unicode_literals
from django.db import migrations
2019-05-13 15:11:16 +00:00
import wagtail.core.blocks
import wagtail.core.fields
import wagtail.images.blocks
2017-09-20 10:05:58 +00:00
class Migration(migrations.Migration):
dependencies = [
('home', '0019_auto_20170908_1505'),
]
operations = [
migrations.AlterField(
model_name='articlepage',
name='body_de',
2019-05-13 15:11:16 +00:00
field=wagtail.core.fields.StreamField((('paragraph', wagtail.core.blocks.RichTextBlock()), ('section', wagtail.core.blocks.CharBlock(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),
2017-09-20 10:05:58 +00:00
),
migrations.AlterField(
model_name='articlepage',
name='body_fr',
2019-05-13 15:11:16 +00:00
field=wagtail.core.fields.StreamField((('paragraph', wagtail.core.blocks.RichTextBlock()), ('section', wagtail.core.blocks.CharBlock(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),
2017-09-20 10:05:58 +00:00
),
]