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


class Migration(migrations.Migration):
    dependencies = [
        ("core", "0030_alter_category_slug"),
    ]

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