From 0c2e3e0944ee8a75cf2e95162adef26e593227e2 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Matthias=20Br=C3=BCck?= Date: Wed, 27 Nov 2024 07:58:27 +0100 Subject: [PATCH] Make link block not required in image chooser block --- bakeup/pages/blocks.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bakeup/pages/blocks.py b/bakeup/pages/blocks.py index 266ef0a..f05f0b5 100644 --- a/bakeup/pages/blocks.py +++ b/bakeup/pages/blocks.py @@ -151,7 +151,7 @@ class ImageChooserBlock(StructBlock): min_value=0, ) alignment = ImageAlignmentChoiceBlock(default="start") - link = LinkBlock() + link = LinkBlock(required=False) class Meta: template = "blocks/image_block.html"