63 lines
3 KiB
Python
63 lines
3 KiB
Python
# -*- coding: utf-8 -*-
|
|
# Generated by Django 1.11.13 on 2018-05-25 13:20
|
|
from __future__ import unicode_literals
|
|
|
|
from django.db import migrations, models
|
|
import wagtail.wagtailcore.blocks
|
|
import wagtail.wagtailcore.fields
|
|
import wagtail.wagtailimages.blocks
|
|
|
|
|
|
class Migration(migrations.Migration):
|
|
|
|
dependencies = [
|
|
('home', '0021_auto_20171013_2321'),
|
|
]
|
|
|
|
operations = [
|
|
migrations.AddField(
|
|
model_name='articleindexpage',
|
|
name='intro_en',
|
|
field=wagtail.wagtailcore.fields.RichTextField(blank=True, default=''),
|
|
),
|
|
migrations.AddField(
|
|
model_name='articleindexpage',
|
|
name='title_en',
|
|
field=models.CharField(blank=True, default='', max_length=255),
|
|
),
|
|
migrations.AddField(
|
|
model_name='articlepage',
|
|
name='body_en',
|
|
field=wagtail.wagtailcore.fields.StreamField((('paragraph', wagtail.wagtailcore.blocks.RichTextBlock()), ('section', wagtail.wagtailcore.blocks.CharBlock(classname='full title')), ('info', wagtail.wagtailcore.blocks.StructBlock((('title', wagtail.wagtailcore.blocks.CharBlock(required=True)), ('photo', wagtail.wagtailimages.blocks.ImageChooserBlock(required=True)), ('summary', wagtail.wagtailcore.blocks.RichTextBlock(required=True)), ('action', wagtail.wagtailcore.blocks.CharBlock(required=False)), ('url', wagtail.wagtailcore.blocks.URLBlock(required=False))), icon='help')), ('media', wagtail.wagtailcore.blocks.ChoiceBlock(choices=[('gallery', 'Image gallery')], icon='media'))), blank=True, null=True),
|
|
),
|
|
migrations.AddField(
|
|
model_name='articlepage',
|
|
name='intro_en',
|
|
field=wagtail.wagtailcore.fields.RichTextField(blank=True, default=''),
|
|
),
|
|
migrations.AddField(
|
|
model_name='articlepage',
|
|
name='title_en',
|
|
field=models.CharField(blank=True, default='', max_length=255),
|
|
),
|
|
migrations.AddField(
|
|
model_name='contact',
|
|
name='title_en',
|
|
field=models.CharField(default='', max_length=255),
|
|
),
|
|
migrations.AddField(
|
|
model_name='homepage',
|
|
name='body_en',
|
|
field=wagtail.wagtailcore.fields.RichTextField(blank=True, default=''),
|
|
),
|
|
migrations.AddField(
|
|
model_name='homepage',
|
|
name='infos_en',
|
|
field=wagtail.wagtailcore.fields.StreamField((('info', wagtail.wagtailcore.blocks.StructBlock((('title', wagtail.wagtailcore.blocks.CharBlock(required=True)), ('photo', wagtail.wagtailimages.blocks.ImageChooserBlock(required=True)), ('summary', wagtail.wagtailcore.blocks.RichTextBlock(required=True)), ('action', wagtail.wagtailcore.blocks.CharBlock(required=False)), ('url', wagtail.wagtailcore.blocks.URLBlock(required=False))))),), blank=True, null=True),
|
|
),
|
|
migrations.AddField(
|
|
model_name='homepage',
|
|
name='intro_en',
|
|
field=wagtail.wagtailcore.fields.RichTextField(blank=True, default=''),
|
|
),
|
|
]
|