mirror of
https://github.com/jazzband/django-eav2.git
synced 2026-04-13 11:41:02 +00:00
chore(migrations): update defaults and meta options for Attribute and Value models
This commit is contained in:
parent
6b7a04f8a7
commit
625b8a5315
1 changed files with 36 additions and 0 deletions
36
eav/migrations/0011_update_defaults_and_meta.py
Normal file
36
eav/migrations/0011_update_defaults_and_meta.py
Normal file
|
|
@ -0,0 +1,36 @@
|
|||
from django.db import migrations, models
|
||||
|
||||
|
||||
class Migration(migrations.Migration):
|
||||
"""Update default values and meta options for Attribute and Value models."""
|
||||
|
||||
dependencies = [
|
||||
("eav", "0010_dynamic_pk_type_for_models"),
|
||||
]
|
||||
|
||||
operations = [
|
||||
migrations.AlterModelOptions(
|
||||
name="attribute",
|
||||
options={
|
||||
"ordering": ("name",),
|
||||
"verbose_name": "Attribute",
|
||||
"verbose_name_plural": "Attributes",
|
||||
},
|
||||
),
|
||||
migrations.AlterField(
|
||||
model_name="attribute",
|
||||
name="description",
|
||||
field=models.CharField(
|
||||
blank=True,
|
||||
default="",
|
||||
help_text="Short description",
|
||||
max_length=256,
|
||||
verbose_name="Description",
|
||||
),
|
||||
),
|
||||
migrations.AlterField(
|
||||
model_name="value",
|
||||
name="value_text",
|
||||
field=models.TextField(blank=True, default="", verbose_name="Value text"),
|
||||
),
|
||||
]
|
||||
Loading…
Reference in a new issue