Skip to content
Snippets Groups Projects
Commit 98aba54e authored by Alexa Valentová's avatar Alexa Valentová
Browse files

run hooks

parent 11cca3d5
Branches
No related tags found
2 merge requests!936Release,!935Make line breaks manual
Pipeline #16989 passed
# Generated by Django 4.1.10 on 2024-02-20 09:19
from django.db import migrations
import wagtail.blocks
import wagtail.fields
from django.db import migrations
class Migration(migrations.Migration):
dependencies = [
('donate', '0044_alter_donatehomepage_menu'),
("donate", "0044_alter_donatehomepage_menu"),
]
operations = [
migrations.AlterField(
model_name='donatehomepage',
name='menu',
field=wagtail.fields.StreamField([('menu_item', wagtail.blocks.StructBlock([('title', wagtail.blocks.CharBlock(label='Titulek', required=True)), ('page', wagtail.blocks.PageChooserBlock(label='Stránka', required=False)), ('link', wagtail.blocks.URLBlock(label='Odkaz', required=False))])), ('menu_parent', wagtail.blocks.StructBlock([('title', wagtail.blocks.CharBlock(label='Titulek', required=True)), ('menu_items', wagtail.blocks.ListBlock(wagtail.blocks.StructBlock([('title', wagtail.blocks.CharBlock(label='Titulek', required=True)), ('page', wagtail.blocks.PageChooserBlock(label='Stránka', required=False)), ('link', wagtail.blocks.URLBlock(label='Odkaz', required=False))]), label='Položky menu'))], template='donate/blocks/navbar_submenu.html'))], blank=True, use_json_field=True, verbose_name='Menu'),
model_name="donatehomepage",
name="menu",
field=wagtail.fields.StreamField(
[
(
"menu_item",
wagtail.blocks.StructBlock(
[
(
"title",
wagtail.blocks.CharBlock(
label="Titulek", required=True
),
),
(
"page",
wagtail.blocks.PageChooserBlock(
label="Stránka", required=False
),
),
(
"link",
wagtail.blocks.URLBlock(
label="Odkaz", required=False
),
),
]
),
),
(
"menu_parent",
wagtail.blocks.StructBlock(
[
(
"title",
wagtail.blocks.CharBlock(
label="Titulek", required=True
),
),
(
"menu_items",
wagtail.blocks.ListBlock(
wagtail.blocks.StructBlock(
[
(
"title",
wagtail.blocks.CharBlock(
label="Titulek", required=True
),
),
(
"page",
wagtail.blocks.PageChooserBlock(
label="Stránka", required=False
),
),
(
"link",
wagtail.blocks.URLBlock(
label="Odkaz", required=False
),
),
]
),
label="Položky menu",
),
),
],
template="donate/blocks/navbar_submenu.html",
),
),
],
blank=True,
use_json_field=True,
verbose_name="Menu",
),
),
]
# Generated by Django 4.1.10 on 2024-02-20 09:19
from django.db import migrations, models
import django.db.models.deletion
import shared.models.base
import wagtail.blocks
import wagtail.fields
import wagtailmetadata.models
from django.db import migrations, models
import shared.models.base
class Migration(migrations.Migration):
dependencies = [
('wagtailcore', '0083_workflowcontenttype'),
('wagtailimages', '0025_alter_image_file_alter_rendition_file'),
('main', '0073_alter_mainhomepage_content'),
("wagtailcore", "0083_workflowcontenttype"),
("wagtailimages", "0025_alter_image_file_alter_rendition_file"),
("main", "0073_alter_mainhomepage_content"),
]
operations = [
migrations.CreateModel(
name='MainResultsPage',
name="MainResultsPage",
fields=[
('page_ptr', models.OneToOneField(auto_created=True, on_delete=django.db.models.deletion.CASCADE, parent_link=True, primary_key=True, serialize=False, to='wagtailcore.page')),
('content', wagtail.fields.StreamField([('flip_cards', wagtail.blocks.StructBlock([('cards', wagtail.blocks.ListBlock(wagtail.blocks.StructBlock([('title', wagtail.blocks.CharBlock(label='Nadpis')), ('content', wagtail.blocks.RichTextBlock(label='Obsah')), ('button_text', wagtail.blocks.CharBlock(help_text='Pokud není vyplněn, tlačítko se neukáže.', label='Nadpis tlačítka', required=False)), ('button_url', wagtail.blocks.CharBlock(label='Odkaz tlačítka', required=False))], label='Karta'), label='Karty'))])), ('text', wagtail.blocks.RichTextBlock(template='styleguide2/includes/atoms/text/prose_richtext.html'))], blank=True, use_json_field=True, verbose_name='Obsah')),
('search_image', models.ForeignKey(blank=True, null=True, on_delete=django.db.models.deletion.SET_NULL, related_name='+', to='wagtailimages.image', verbose_name='Search image')),
(
"page_ptr",
models.OneToOneField(
auto_created=True,
on_delete=django.db.models.deletion.CASCADE,
parent_link=True,
primary_key=True,
serialize=False,
to="wagtailcore.page",
),
),
(
"content",
wagtail.fields.StreamField(
[
(
"flip_cards",
wagtail.blocks.StructBlock(
[
(
"cards",
wagtail.blocks.ListBlock(
wagtail.blocks.StructBlock(
[
(
"title",
wagtail.blocks.CharBlock(
label="Nadpis"
),
),
(
"content",
wagtail.blocks.RichTextBlock(
label="Obsah"
),
),
(
"button_text",
wagtail.blocks.CharBlock(
help_text="Pokud není vyplněn, tlačítko se neukáže.",
label="Nadpis tlačítka",
required=False,
),
),
(
"button_url",
wagtail.blocks.CharBlock(
label="Odkaz tlačítka",
required=False,
),
),
],
label="Karta",
),
label="Karty",
),
)
]
),
),
(
"text",
wagtail.blocks.RichTextBlock(
template="styleguide2/includes/atoms/text/prose_richtext.html"
),
),
],
blank=True,
use_json_field=True,
verbose_name="Obsah",
),
),
(
"search_image",
models.ForeignKey(
blank=True,
null=True,
on_delete=django.db.models.deletion.SET_NULL,
related_name="+",
to="wagtailimages.image",
verbose_name="Search image",
),
),
],
options={
'verbose_name': 'Výsledky',
"verbose_name": "Výsledky",
},
bases=(shared.models.base.SubpageMixin, wagtailmetadata.models.WagtailImageMetadataMixin, 'wagtailcore.page', models.Model),
bases=(
shared.models.base.SubpageMixin,
wagtailmetadata.models.WagtailImageMetadataMixin,
"wagtailcore.page",
models.Model,
),
),
]
# Generated by Django 4.1.10 on 2024-02-20 10:16
from django.db import migrations
import wagtail.blocks
import wagtail.fields
import wagtail.images.blocks
from django.db import migrations
class Migration(migrations.Migration):
dependencies = [
('main', '0074_mainresultspage'),
("main", "0074_mainresultspage"),
]
operations = [
migrations.AlterField(
model_name='mainresultspage',
name='content',
field=wagtail.fields.StreamField([('flip_cards', wagtail.blocks.StructBlock([('cards', wagtail.blocks.ListBlock(wagtail.blocks.StructBlock([('image', wagtail.images.blocks.ImageChooserBlock(label='Obrázek')), ('title', wagtail.blocks.CharBlock(label='Nadpis')), ('content', wagtail.blocks.RichTextBlock(label='Obsah')), ('button_text', wagtail.blocks.CharBlock(help_text='Pokud není vyplněn, tlačítko se neukáže.', label='Nadpis tlačítka', required=False)), ('button_url', wagtail.blocks.CharBlock(label='Odkaz tlačítka', required=False))], label='Karta'), label='Karty'))])), ('text', wagtail.blocks.RichTextBlock(template='styleguide2/includes/atoms/text/prose_richtext.html'))], blank=True, use_json_field=True, verbose_name='Obsah'),
model_name="mainresultspage",
name="content",
field=wagtail.fields.StreamField(
[
(
"flip_cards",
wagtail.blocks.StructBlock(
[
(
"cards",
wagtail.blocks.ListBlock(
wagtail.blocks.StructBlock(
[
(
"image",
wagtail.images.blocks.ImageChooserBlock(
label="Obrázek"
),
),
(
"title",
wagtail.blocks.CharBlock(
label="Nadpis"
),
),
(
"content",
wagtail.blocks.RichTextBlock(
label="Obsah"
),
),
(
"button_text",
wagtail.blocks.CharBlock(
help_text="Pokud není vyplněn, tlačítko se neukáže.",
label="Nadpis tlačítka",
required=False,
),
),
(
"button_url",
wagtail.blocks.CharBlock(
label="Odkaz tlačítka",
required=False,
),
),
],
label="Karta",
),
label="Karty",
),
)
]
),
),
(
"text",
wagtail.blocks.RichTextBlock(
template="styleguide2/includes/atoms/text/prose_richtext.html"
),
),
],
blank=True,
use_json_field=True,
verbose_name="Obsah",
),
),
]
# Generated by Django 4.1.10 on 2024-02-20 11:01
from django.db import migrations
import wagtail.blocks
import wagtail.fields
import wagtail.images.blocks
from django.db import migrations
class Migration(migrations.Migration):
dependencies = [
('main', '0075_alter_mainresultspage_content'),
("main", "0075_alter_mainresultspage_content"),
]
operations = [
migrations.AlterField(
model_name='mainresultspage',
name='content',
field=wagtail.fields.StreamField([('flip_cards', wagtail.blocks.StructBlock([('cards', wagtail.blocks.ListBlock(wagtail.blocks.StructBlock([('image', wagtail.images.blocks.ImageChooserBlock(label='Obrázek')), ('title', wagtail.blocks.TextBlock(help_text='Řádkování je manuální.', label='Nadpis')), ('content', wagtail.blocks.RichTextBlock(label='Obsah')), ('button_text', wagtail.blocks.CharBlock(help_text='Pokud není vyplněn, tlačítko se neukáže.', label='Nadpis tlačítka', required=False)), ('button_url', wagtail.blocks.CharBlock(label='Odkaz tlačítka', required=False))], label='Karta'), label='Karty'))])), ('text', wagtail.blocks.RichTextBlock(template='styleguide2/includes/atoms/text/prose_richtext.html'))], blank=True, use_json_field=True, verbose_name='Obsah'),
model_name="mainresultspage",
name="content",
field=wagtail.fields.StreamField(
[
(
"flip_cards",
wagtail.blocks.StructBlock(
[
(
"cards",
wagtail.blocks.ListBlock(
wagtail.blocks.StructBlock(
[
(
"image",
wagtail.images.blocks.ImageChooserBlock(
label="Obrázek"
),
),
(
"title",
wagtail.blocks.TextBlock(
help_text="Řádkování je manuální.",
label="Nadpis",
),
),
(
"content",
wagtail.blocks.RichTextBlock(
label="Obsah"
),
),
(
"button_text",
wagtail.blocks.CharBlock(
help_text="Pokud není vyplněn, tlačítko se neukáže.",
label="Nadpis tlačítka",
required=False,
),
),
(
"button_url",
wagtail.blocks.CharBlock(
label="Odkaz tlačítka",
required=False,
),
),
],
label="Karta",
),
label="Karty",
),
)
]
),
),
(
"text",
wagtail.blocks.RichTextBlock(
template="styleguide2/includes/atoms/text/prose_richtext.html"
),
),
],
blank=True,
use_json_field=True,
verbose_name="Obsah",
),
),
]
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment