# Generated by Django 5.2 on 2025-06-18 19:21

import django_extensions.db.fields
from django.db import migrations


class Migration(migrations.Migration):
    dependencies = [
        ("core", "0025_alter_product_category"),
    ]

    operations = [
        migrations.AddField(
            model_name="brand",
            name="slug",
            field=django_extensions.db.fields.AutoSlugField(
                allow_unicode=True,
                blank=True,
                editable=False,
                null=True,
                populate_from=("name",),
                unique=True,
            ),
        ),
        migrations.AlterField(
            model_name="category",
            name="slug",
            field=django_extensions.db.fields.AutoSlugField(
                allow_unicode=True,
                blank=True,
                editable=False,
                null=True,
                populate_from=("name",),
                unique=True,
            ),
        ),
        migrations.AlterField(
            model_name="product",
            name="slug",
            field=django_extensions.db.fields.AutoSlugField(
                allow_unicode=True,
                blank=True,
                editable=False,
                null=True,
                populate_from=("category__slug", "brand__slug", "name", "uuid"),
                unique=True,
            ),
        ),
    ]
