# Generated by Django 5.2.8 on 2025-11-25 16:36

import django.core.validators
import re
from django.db import migrations, models


class Migration(migrations.Migration):

    dependencies = [
        ("authentik_stages_invitation", "0009_invitation_authentik_s_expires_96f4b8_idx_and_more"),
    ]

    operations = [
        migrations.AlterField(
            model_name="invitation",
            name="name",
            field=models.TextField(
                validators=[
                    django.core.validators.RegexValidator(
                        re.compile("^[-a-zA-Z0-9_]+\\Z"),
                        "Enter a valid “slug” consisting of letters, numbers, underscores or hyphens.",
                        "invalid",
                    )
                ]
            ),
        ),
    ]
