2020-08-29 23:15:28 +02:00
|
|
|
# Generated by Django 2.2.15 on 2020-08-29 21:14
|
|
|
|
|
|
|
|
import wagtail.core.blocks
|
|
|
|
import wagtail.core.fields
|
2020-08-29 23:39:31 +02:00
|
|
|
from django.db import migrations
|
2020-08-29 23:15:28 +02:00
|
|
|
|
|
|
|
|
|
|
|
class Migration(migrations.Migration):
|
|
|
|
dependencies = [
|
2020-08-29 23:23:52 +02:00
|
|
|
("cofcms", "0003_directory_entry_optional_links"),
|
2020-08-29 23:15:28 +02:00
|
|
|
]
|
|
|
|
|
|
|
|
operations = [
|
|
|
|
migrations.AlterField(
|
2020-08-29 23:23:52 +02:00
|
|
|
model_name="cofdirectoryentrypage",
|
|
|
|
name="links",
|
|
|
|
field=wagtail.core.fields.StreamField(
|
|
|
|
[
|
|
|
|
(
|
|
|
|
"lien",
|
|
|
|
wagtail.core.blocks.StructBlock(
|
|
|
|
[
|
|
|
|
("url", wagtail.core.blocks.URLBlock(required=True)),
|
|
|
|
("texte", wagtail.core.blocks.CharBlock()),
|
|
|
|
]
|
|
|
|
),
|
|
|
|
),
|
|
|
|
(
|
|
|
|
"contact",
|
|
|
|
wagtail.core.blocks.StructBlock(
|
|
|
|
[
|
|
|
|
(
|
|
|
|
"email",
|
|
|
|
wagtail.core.blocks.EmailBlock(required=True),
|
|
|
|
),
|
|
|
|
("texte", wagtail.core.blocks.CharBlock()),
|
|
|
|
]
|
|
|
|
),
|
|
|
|
),
|
|
|
|
(
|
|
|
|
"info",
|
|
|
|
wagtail.core.blocks.StructBlock(
|
|
|
|
[
|
|
|
|
("nom", wagtail.core.blocks.CharBlock(required=False)),
|
|
|
|
("texte", wagtail.core.blocks.CharBlock(required=True)),
|
|
|
|
]
|
|
|
|
),
|
|
|
|
),
|
|
|
|
],
|
|
|
|
blank=True,
|
|
|
|
),
|
2020-08-29 23:15:28 +02:00
|
|
|
),
|
|
|
|
migrations.AlterField(
|
2020-08-29 23:23:52 +02:00
|
|
|
model_name="cofdirectoryentrypage",
|
|
|
|
name="links_en",
|
|
|
|
field=wagtail.core.fields.StreamField(
|
|
|
|
[
|
|
|
|
(
|
|
|
|
"lien",
|
|
|
|
wagtail.core.blocks.StructBlock(
|
|
|
|
[
|
|
|
|
("url", wagtail.core.blocks.URLBlock(required=True)),
|
|
|
|
("texte", wagtail.core.blocks.CharBlock()),
|
|
|
|
]
|
|
|
|
),
|
|
|
|
),
|
|
|
|
(
|
|
|
|
"contact",
|
|
|
|
wagtail.core.blocks.StructBlock(
|
|
|
|
[
|
|
|
|
(
|
|
|
|
"email",
|
|
|
|
wagtail.core.blocks.EmailBlock(required=True),
|
|
|
|
),
|
|
|
|
("texte", wagtail.core.blocks.CharBlock()),
|
|
|
|
]
|
|
|
|
),
|
|
|
|
),
|
|
|
|
(
|
|
|
|
"info",
|
|
|
|
wagtail.core.blocks.StructBlock(
|
|
|
|
[
|
|
|
|
("nom", wagtail.core.blocks.CharBlock(required=False)),
|
|
|
|
("texte", wagtail.core.blocks.CharBlock(required=True)),
|
|
|
|
]
|
|
|
|
),
|
|
|
|
),
|
|
|
|
],
|
|
|
|
blank=True,
|
|
|
|
null=True,
|
|
|
|
),
|
2020-08-29 23:15:28 +02:00
|
|
|
),
|
|
|
|
migrations.AlterField(
|
2020-08-29 23:23:52 +02:00
|
|
|
model_name="cofdirectoryentrypage",
|
|
|
|
name="links_fr",
|
|
|
|
field=wagtail.core.fields.StreamField(
|
|
|
|
[
|
|
|
|
(
|
|
|
|
"lien",
|
|
|
|
wagtail.core.blocks.StructBlock(
|
|
|
|
[
|
|
|
|
("url", wagtail.core.blocks.URLBlock(required=True)),
|
|
|
|
("texte", wagtail.core.blocks.CharBlock()),
|
|
|
|
]
|
|
|
|
),
|
|
|
|
),
|
|
|
|
(
|
|
|
|
"contact",
|
|
|
|
wagtail.core.blocks.StructBlock(
|
|
|
|
[
|
|
|
|
(
|
|
|
|
"email",
|
|
|
|
wagtail.core.blocks.EmailBlock(required=True),
|
|
|
|
),
|
|
|
|
("texte", wagtail.core.blocks.CharBlock()),
|
|
|
|
]
|
|
|
|
),
|
|
|
|
),
|
|
|
|
(
|
|
|
|
"info",
|
|
|
|
wagtail.core.blocks.StructBlock(
|
|
|
|
[
|
|
|
|
("nom", wagtail.core.blocks.CharBlock(required=False)),
|
|
|
|
("texte", wagtail.core.blocks.CharBlock(required=True)),
|
|
|
|
]
|
|
|
|
),
|
|
|
|
),
|
|
|
|
],
|
|
|
|
blank=True,
|
|
|
|
null=True,
|
|
|
|
),
|
2020-08-29 23:15:28 +02:00
|
|
|
),
|
|
|
|
]
|