mirror of
https://github.com/jazzband/django-eav2.git
synced 2026-05-25 23:53:51 +00:00
22 lines
514 B
Python
22 lines
514 B
Python
|
|
from django.db import migrations, models
|
||
|
|
|
||
|
|
|
||
|
|
class Migration(migrations.Migration):
|
||
|
|
"""Use Django SlugField() for Attribute.slug."""
|
||
|
|
|
||
|
|
dependencies = [
|
||
|
|
('eav', '0007_alter_value_value_int'),
|
||
|
|
]
|
||
|
|
|
||
|
|
operations = [
|
||
|
|
migrations.AlterField(
|
||
|
|
model_name='attribute',
|
||
|
|
name='slug',
|
||
|
|
field=models.SlugField(
|
||
|
|
help_text='Short unique attribute label',
|
||
|
|
unique=True,
|
||
|
|
verbose_name='Slug',
|
||
|
|
),
|
||
|
|
),
|
||
|
|
]
|