public-health-ch/publichealth/home/migrations/0022_auto_20180525_1520.py

64 lines
2.9 KiB
Python
Raw Normal View History

2018-05-16 13:16:20 +00:00
# -*- coding: utf-8 -*-
2018-05-25 14:01:03 +00:00
# Generated by Django 1.11.13 on 2018-05-25 13:20
2018-05-16 13:16:20 +00:00
from __future__ import unicode_literals
from django.db import migrations, models
2019-05-13 15:11:16 +00:00
import wagtail.core.blocks
import wagtail.core.fields
import wagtail.images.blocks
2018-05-16 13:16:20 +00:00
class Migration(migrations.Migration):
dependencies = [
('home', '0021_auto_20171013_2321'),
]
operations = [
migrations.AddField(
model_name='articleindexpage',
name='intro_en',
2019-05-13 15:11:16 +00:00
field=wagtail.core.fields.RichTextField(blank=True, default=''),
2018-05-16 13:16:20 +00:00
),
migrations.AddField(
model_name='articleindexpage',
name='title_en',
2018-05-25 14:01:03 +00:00
field=models.CharField(blank=True, default='', max_length=255),
2018-05-16 13:16:20 +00:00
),
migrations.AddField(
model_name='articlepage',
name='body_en',
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),
2018-05-16 13:16:20 +00:00
),
migrations.AddField(
model_name='articlepage',
name='intro_en',
2019-05-13 15:11:16 +00:00
field=wagtail.core.fields.RichTextField(blank=True, default=''),
2018-05-16 13:16:20 +00:00
),
migrations.AddField(
model_name='articlepage',
name='title_en',
2018-05-25 14:01:03 +00:00
field=models.CharField(blank=True, default='', max_length=255),
),
migrations.AddField(
model_name='contact',
name='title_en',
2018-05-16 13:16:20 +00:00
field=models.CharField(default='', max_length=255),
),
2018-05-25 14:01:03 +00:00
migrations.AddField(
model_name='homepage',
name='body_en',
2019-05-13 15:11:16 +00:00
field=wagtail.core.fields.RichTextField(blank=True, default=''),
2018-05-25 14:01:03 +00:00
),
migrations.AddField(
model_name='homepage',
name='infos_en',
2019-05-13 15:11:16 +00:00
field=wagtail.core.fields.StreamField((('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))))),), blank=True, null=True),
2018-05-25 14:01:03 +00:00
),
migrations.AddField(
model_name='homepage',
name='intro_en',
2019-05-13 15:11:16 +00:00
field=wagtail.core.fields.RichTextField(blank=True, default=''),
2018-05-25 14:01:03 +00:00
),
2018-05-16 13:16:20 +00:00
]