kpsul/gestioncof/cms/migrations/0004_auto_20200829_2314.py

135 lines
4.8 KiB
Python
Raw Permalink Normal View History

# 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
class Migration(migrations.Migration):
dependencies = [
2020-08-29 23:23:52 +02:00
("cofcms", "0003_directory_entry_optional_links"),
]
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,
),
),
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,
),
),
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,
),
),
]