add image carousel to venues

This commit is contained in:
2024-08-09 04:24:20 +02:00
parent 996b63911c
commit 175dcb8e8f
8 changed files with 201 additions and 61 deletions

View File

@ -0,0 +1,19 @@
# Generated by Django 5.0.7 on 2024-08-09 02:15
import wagtail.fields
from django.db import migrations
class Migration(migrations.Migration):
dependencies = [
('venues', '0022_venuepage_images_alter_venuepage_featured_image'),
]
operations = [
migrations.AlterField(
model_name='venuepage',
name='images',
field=wagtail.fields.StreamField([('image_slider', 4)], blank=True, block_lookup={0: ('wagtail.images.blocks.ImageChooserBlock', (), {'label': 'Bilde'}), 1: ('wagtail.blocks.CharBlock', (), {'label': 'Tekst', 'max_length': 512, 'required': False}), 2: ('wagtail.blocks.StructBlock', [[('image', 0), ('text', 1)]], {}), 3: ('wagtail.blocks.ListBlock', (2,), {'label': 'Bilder', 'min_num': 1}), 4: ('wagtail.blocks.StructBlock', [[('images', 3)]], {})}, help_text='Bilder som vises i bildekarusellen når man leser mer om lokalet. Inkluderer ikke automatisk bildet over.'),
),
]