# 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_flows", "0028_flowtoken_revoke_on_execution"),
    ]

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