# Generated by Django 2.2 on 2021-01-04 10:18

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


class Migration(migrations.Migration):

    dependencies = [
        ("cms", "0022_auto_20180620_1551"),
        ("events", "0001_initial"),
    ]

    operations = [
        migrations.AddField(
            model_name="event",
            name="cta_text",
            field=models.CharField(blank=True, max_length=255),
        ),
        migrations.AddField(
            model_name="event",
            name="external_url",
            field=models.URLField(
                blank=True, help_text="Overrides the internal link if set"
            ),
        ),
        migrations.AddField(
            model_name="event",
            name="internal_link",
            field=cms.models.fields.PageField(
                blank=True,
                null=True,
                on_delete=django.db.models.deletion.CASCADE,
                related_name="+",
                to="cms.Page",
            ),
        ),
    ]
