public-health-ch/publichealth/home/migrations/0010_auto_20170410_2307.py

59 lines
2.4 KiB
Python
Raw Normal View History

2017-04-10 23:01:41 +00:00
# -*- coding: utf-8 -*-
# Generated by Django 1.10.6 on 2017-04-10 21:07
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
2017-04-10 23:01:41 +00:00
class Migration(migrations.Migration):
dependencies = [
('home', '0009_contact_contactform_contactformfield'),
]
operations = [
migrations.AddField(
model_name='articlepage',
name='on_homepage',
field=models.BooleanField(default=False, verbose_name='Auf der Frontpage anzeigen'),
),
migrations.AlterField(
model_name='contactform',
name='intro_de',
2019-05-13 15:11:16 +00:00
field=wagtail.core.fields.RichTextField(blank=True, default=''),
2017-04-10 23:01:41 +00:00
),
migrations.AlterField(
model_name='contactform',
name='intro_fr',
2019-05-13 15:11:16 +00:00
field=wagtail.core.fields.RichTextField(blank=True, default=''),
2017-04-10 23:01:41 +00:00
),
migrations.AlterField(
model_name='contactform',
name='thanks_de',
2019-05-13 15:11:16 +00:00
field=wagtail.core.fields.RichTextField(blank=True, default=''),
2017-04-10 23:01:41 +00:00
),
migrations.AlterField(
model_name='contactform',
name='thanks_fr',
2019-05-13 15:11:16 +00:00
field=wagtail.core.fields.RichTextField(blank=True, default=''),
2017-04-10 23:01:41 +00:00
),
migrations.AlterField(
model_name='contactform',
name='title_fr',
field=models.CharField(default='', max_length=255),
),
migrations.AlterField(
model_name='homepage',
name='infos_de',
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()), ('summary', wagtail.core.blocks.RichTextBlock(required=True)), ('action', wagtail.core.blocks.CharBlock()), ('url', wagtail.core.blocks.URLBlock())))),), blank=True, null=True),
2017-04-10 23:01:41 +00:00
),
migrations.AlterField(
model_name='homepage',
name='infos_fr',
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()), ('summary', wagtail.core.blocks.RichTextBlock(required=True)), ('action', wagtail.core.blocks.CharBlock()), ('url', wagtail.core.blocks.URLBlock())))),), blank=True, null=True),
2017-04-10 23:01:41 +00:00
),
]