# Generated by Django 5.0.7 on 2024-08-09 02:01

import django.db.models.deletion
import wagtail.fields
from django.db import migrations, models


class Migration(migrations.Migration):

    dependencies = [
        ('images', '0003_alter_customimage_alt'),
        ('venues', '0021_venuepage_tech_specs_url'),
    ]

    operations = [
        migrations.AddField(
            model_name='venuepage',
            name='images',
            field=wagtail.fields.StreamField([('image_slider', 4)], 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)]], {})}, default=''),
            preserve_default=False,
        ),
        migrations.AlterField(
            model_name='venuepage',
            name='featured_image',
            field=models.ForeignKey(blank=True, help_text='Bilde av lokalet som brukes i oversiktvisninger. Blir ikke automatisk med i bildekarusellen.', null=True, on_delete=django.db.models.deletion.SET_NULL, related_name='+', to='images.customimage'),
        ),
    ]
