Skip to content

Commit

Permalink
So we don't trigger a new migration
Browse files Browse the repository at this point in the history
  • Loading branch information
kevinhowbrook committed Dec 15, 2023
1 parent ce6751d commit 49a1ec3
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 11 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -16,4 +16,4 @@ class CarouselTextBlock(blocks.StructBlock):
class Meta:
icon = "placeholder"
template = "fragments/blocks/carousel_text_block.html"
label = "Carousel Text Block"
label = "Carousel and Text Block"
Original file line number Diff line number Diff line change
Expand Up @@ -1687,6 +1687,16 @@ class Migration(migrations.Migration):
wagtail.blocks.CharBlock(help_text="Heading for the block.", required=False),
),
("text", wagtail.blocks.RichTextBlock(features=["bold", "italic", "link"])),
(
"link_url",
wagtail.blocks.URLBlock(
help_text="A CTA URL for a link displayed", required=False
),
),
(
"link_label",
wagtail.blocks.CharBlock(help_text="Label for the CTA link.", required=False),
),
(
"carousel_images",
wagtail.blocks.ListBlock(
Expand All @@ -1705,16 +1715,6 @@ class Migration(migrations.Migration):
max_num=4,
),
),
(
"link_url",
wagtail.blocks.URLBlock(
help_text="A CTA URL for a link displayed", required=False
),
),
(
"link_label",
wagtail.blocks.CharBlock(help_text="Label for the CTA link.", required=False),
),
]
),
),
Expand Down

0 comments on commit 49a1ec3

Please sign in to comment.