public-health-ch/publichealth/home/migrations/0019_auto_20170908_1505.py

43 lines
2.8 KiB
Python
Raw Normal View History

2017-09-06 12:57:19 +00:00
# -*- coding: utf-8 -*-
2017-09-08 13:07:49 +00:00
# Generated by Django 1.11.4 on 2017-09-08 13:05
2017-09-06 12:57:19 +00:00
from __future__ import unicode_literals
2017-09-08 13:07:49 +00:00
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
2017-09-06 12:57:19 +00:00
class Migration(migrations.Migration):
dependencies = [
2017-09-08 13:07:49 +00:00
('home', '0018_contact_contact_form'),
2017-09-06 12:57:19 +00:00
]
operations = [
2017-09-08 13:07:49 +00:00
migrations.AlterModelOptions(
name='dataletssettings',
options={'verbose_name': 'Get support'},
),
2017-09-06 12:57:19 +00:00
migrations.AddField(
model_name='articlepage',
name='gallery',
2019-05-13 15:11:16 +00:00
field=wagtail.core.fields.StreamField((('image', wagtail.core.blocks.ListBlock(wagtail.core.blocks.StructBlock((('image', wagtail.images.blocks.ImageChooserBlock()), ('caption', wagtail.core.blocks.TextBlock(required=False)))), icon='image')),), blank=True),
2017-09-06 12:57:19 +00:00
),
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))))), ('placer', wagtail.core.blocks.ChoiceBlock(choices=[('gallery', 'Image gallery')], icon='user'))), blank=True, null=True),
2017-09-06 12:57:19 +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))))), ('placer', wagtail.core.blocks.ChoiceBlock(choices=[('gallery', 'Image gallery')], icon='user'))), blank=True, null=True),
2017-09-08 13:07:49 +00:00
),
migrations.AlterField(
model_name='contactformfield',
name='field_type',
field=models.CharField(choices=[('singleline', 'Single line text'), ('multiline', 'Multi-line text'), ('email', 'Email'), ('number', 'Number'), ('url', 'URL'), ('checkbox', 'Checkbox'), ('checkboxes', 'Checkboxes'), ('dropdown', 'Drop down'), ('multiselect', 'Multiple select'), ('radio', 'Radio buttons'), ('date', 'Date'), ('datetime', 'Date/time')], max_length=16, verbose_name='field type'),
2017-09-06 12:57:19 +00:00
),
]