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

134 lines
4.7 KiB
Python
Raw Normal View History

# Generated by Django 2.2.15 on 2020-08-29 21:14
2024-12-19 14:07:35 +01:00
import wagtail.blocks
import wagtail.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",
2024-12-19 14:07:35 +01:00
field=wagtail.fields.StreamField(
2020-08-29 23:23:52 +02:00
[
(
"lien",
2024-12-19 14:07:35 +01:00
wagtail.blocks.StructBlock(
2020-08-29 23:23:52 +02:00
[
2024-12-19 14:07:35 +01:00
("url", wagtail.blocks.URLBlock(required=True)),
("texte", wagtail.blocks.CharBlock()),
2020-08-29 23:23:52 +02:00
]
),
),
(
"contact",
2024-12-19 14:07:35 +01:00
wagtail.blocks.StructBlock(
2020-08-29 23:23:52 +02:00
[
(
"email",
2024-12-19 14:07:35 +01:00
wagtail.blocks.EmailBlock(required=True),
2020-08-29 23:23:52 +02:00
),
2024-12-19 14:07:35 +01:00
("texte", wagtail.blocks.CharBlock()),
2020-08-29 23:23:52 +02:00
]
),
),
(
"info",
2024-12-19 14:07:35 +01:00
wagtail.blocks.StructBlock(
2020-08-29 23:23:52 +02:00
[
2024-12-19 14:07:35 +01:00
("nom", wagtail.blocks.CharBlock(required=False)),
("texte", wagtail.blocks.CharBlock(required=True)),
2020-08-29 23:23:52 +02:00
]
),
),
],
blank=True,
),
),
migrations.AlterField(
2020-08-29 23:23:52 +02:00
model_name="cofdirectoryentrypage",
name="links_en",
2024-12-19 14:07:35 +01:00
field=wagtail.fields.StreamField(
2020-08-29 23:23:52 +02:00
[
(
"lien",
2024-12-19 14:07:35 +01:00
wagtail.blocks.StructBlock(
2020-08-29 23:23:52 +02:00
[
2024-12-19 14:07:35 +01:00
("url", wagtail.blocks.URLBlock(required=True)),
("texte", wagtail.blocks.CharBlock()),
2020-08-29 23:23:52 +02:00
]
),
),
(
"contact",
2024-12-19 14:07:35 +01:00
wagtail.blocks.StructBlock(
2020-08-29 23:23:52 +02:00
[
(
"email",
2024-12-19 14:07:35 +01:00
wagtail.blocks.EmailBlock(required=True),
2020-08-29 23:23:52 +02:00
),
2024-12-19 14:07:35 +01:00
("texte", wagtail.blocks.CharBlock()),
2020-08-29 23:23:52 +02:00
]
),
),
(
"info",
2024-12-19 14:07:35 +01:00
wagtail.blocks.StructBlock(
2020-08-29 23:23:52 +02:00
[
2024-12-19 14:07:35 +01:00
("nom", wagtail.blocks.CharBlock(required=False)),
("texte", wagtail.blocks.CharBlock(required=True)),
2020-08-29 23:23:52 +02:00
]
),
),
],
blank=True,
null=True,
),
),
migrations.AlterField(
2020-08-29 23:23:52 +02:00
model_name="cofdirectoryentrypage",
name="links_fr",
2024-12-19 14:07:35 +01:00
field=wagtail.fields.StreamField(
2020-08-29 23:23:52 +02:00
[
(
"lien",
2024-12-19 14:07:35 +01:00
wagtail.blocks.StructBlock(
2020-08-29 23:23:52 +02:00
[
2024-12-19 14:07:35 +01:00
("url", wagtail.blocks.URLBlock(required=True)),
("texte", wagtail.blocks.CharBlock()),
2020-08-29 23:23:52 +02:00
]
),
),
(
"contact",
2024-12-19 14:07:35 +01:00
wagtail.blocks.StructBlock(
2020-08-29 23:23:52 +02:00
[
(
"email",
2024-12-19 14:07:35 +01:00
wagtail.blocks.EmailBlock(required=True),
2020-08-29 23:23:52 +02:00
),
2024-12-19 14:07:35 +01:00
("texte", wagtail.blocks.CharBlock()),
2020-08-29 23:23:52 +02:00
]
),
),
(
"info",
2024-12-19 14:07:35 +01:00
wagtail.blocks.StructBlock(
2020-08-29 23:23:52 +02:00
[
2024-12-19 14:07:35 +01:00
("nom", wagtail.blocks.CharBlock(required=False)),
("texte", wagtail.blocks.CharBlock(required=True)),
2020-08-29 23:23:52 +02:00
]
),
),
],
blank=True,
null=True,
),
),
]