# 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_core", "0052_source_promoted"),
    ]

    operations = [
        migrations.AlterField(
            model_name="application",
            name="slug",
            field=models.TextField(
                help_text="Internal application name, used in URLs.",
                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",
                    )
                ],
            ),
        ),
        migrations.AlterField(
            model_name="source",
            name="slug",
            field=models.TextField(
                help_text="Internal source name, used in URLs.",
                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",
                    )
                ],
            ),
        ),
    ]
