# Generated by Django 6.0.5 on 2026-05-22 23:27

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


class Migration(migrations.Migration):

    dependencies = [
        ('associations', '0026_alter_association_options'),
        ('events', '0054_alter_eventpage_options'),
        ('images', '0005_customimage_description'),
    ]

    operations = [
        migrations.AlterModelOptions(
            name='eventcategory',
            options={'ordering': ['name'], 'verbose_name': 'event category', 'verbose_name_plural': 'event categories'},
        ),
        migrations.AlterModelOptions(
            name='eventoccurrence',
            options={'verbose_name': 'occurrence', 'verbose_name_plural': 'occurrences'},
        ),
        migrations.AlterModelOptions(
            name='eventorganizer',
            options={'ordering': ['name'], 'verbose_name': 'event organizer', 'verbose_name_plural': 'event organizers'},
        ),
        migrations.AlterModelOptions(
            name='eventorganizerlink',
            options={'verbose_name': 'organizer', 'verbose_name_plural': 'organizers'},
        ),
        migrations.AlterField(
            model_name='eventcategory',
            name='pig',
            field=models.CharField(blank=True, choices=[('', 'None'), ('logo', 'Logogrisen'), ('music', 'Musikergrisen'), ('drink', 'Drikkegrisen'), ('dance', 'Dansegrisen'), ('point', 'Pekegrisen'), ('student', 'Studentgrisen'), ('listen', 'Lyttegrisen'), ('guard', 'Vaktgrisen'), ('key', 'Nøkkelgrisen'), ('chill', 'Liggegrisen'), ('peek', 'Tittegrisen')], default='', help_text='Default pig for events of this kind.', max_length=32),
        ),
        migrations.AlterField(
            model_name='eventcategory',
            name='show_in_filters',
            field=models.BooleanField(default=False, help_text='Should this category be available as a filter in the event programme?'),
        ),
        migrations.AlterField(
            model_name='eventoccurrence',
            name='venue_custom',
            field=models.CharField(blank=True, help_text='Use this <em>if none of the venues that can be selected on the left</em> fit. E.g. <em>Frederikkeplassen</em> or <em>Sirkusteltet</em>.', max_length=128),
        ),
        migrations.AlterField(
            model_name='eventorganizer',
            name='association',
            field=models.ForeignKey(blank=True, help_text='If a DNS association or committee is behind it, choose it here.', null=True, on_delete=django.db.models.deletion.PROTECT, related_name='organizers', to='associations.associationpage'),
        ),
        migrations.AlterField(
            model_name='eventorganizer',
            name='external_url',
            field=models.URLField(blank=True, help_text="Link to the external organizer's website", max_length=512),
        ),
        migrations.AlterField(
            model_name='eventpage',
            name='facebook_url',
            field=models.URLField(blank=True, help_text='Direct link to the event on Facebook', max_length=1024),
        ),
        migrations.AlterField(
            model_name='eventpage',
            name='featured_image',
            field=models.ForeignKey(blank=True, help_text="Choose an image for use in the programme and other surfaces. Should be a photo or an illustration without too much text – don't reuse a Facebook cover uncritically!", null=True, on_delete=django.db.models.deletion.SET_NULL, related_name='+', to='images.customimage'),
        ),
        migrations.AlterField(
            model_name='eventpage',
            name='pig',
            field=models.CharField(blank=True, choices=[('', 'None'), ('automatic', 'Automatic'), ('logo', 'Logogrisen'), ('music', 'Musikergrisen'), ('drink', 'Drikkegrisen'), ('dance', 'Dansegrisen'), ('point', 'Pekegrisen'), ('student', 'Studentgrisen'), ('listen', 'Lyttegrisen'), ('guard', 'Vaktgrisen'), ('key', 'Nøkkelgrisen'), ('chill', 'Liggegrisen'), ('peek', 'Tittegrisen')], default='automatic', help_text="The pig that hangs out on the event page. Automatic causes one to be chosen based on the event's category.", max_length=32),
        ),
        migrations.AlterField(
            model_name='eventpage',
            name='subtitle',
            field=models.CharField(blank=True, help_text='A short text that appears right below the title. Feel free to leave it empty if you fit most of it in the main title.', max_length=128),
        ),
        migrations.AlterField(
            model_name='eventpage',
            name='ticket_url',
            field=models.URLField(blank=True, help_text='Direct link to ticket purchase, e.g. TicketCo, Billetto or Ticketmaster', max_length=1024),
        ),
    ]
