fix: minor API adjustments
This commit is contained in:
@@ -0,0 +1,47 @@
|
||||
# Generated by Django 5.0.6 on 2024-05-17 00:13
|
||||
|
||||
from django.db import migrations, models
|
||||
|
||||
|
||||
class Migration(migrations.Migration):
|
||||
|
||||
dependencies = [
|
||||
("files", "0001_initial"),
|
||||
("shop", "0005_tag_alter_product_images_product_tags"),
|
||||
]
|
||||
|
||||
operations = [
|
||||
migrations.AlterModelOptions(
|
||||
name="product",
|
||||
options={
|
||||
"ordering": ("id",),
|
||||
"verbose_name": "Producto",
|
||||
"verbose_name_plural": "Productos",
|
||||
},
|
||||
),
|
||||
migrations.AlterModelOptions(
|
||||
name="productbatch",
|
||||
options={
|
||||
"verbose_name": "Remesa de producto",
|
||||
"verbose_name_plural": "Remesas de productos",
|
||||
},
|
||||
),
|
||||
migrations.AlterModelOptions(
|
||||
name="tag",
|
||||
options={"verbose_name": "Etiqueta", "verbose_name_plural": "Etiquetas"},
|
||||
),
|
||||
migrations.AlterField(
|
||||
model_name="product",
|
||||
name="images",
|
||||
field=models.ManyToManyField(
|
||||
blank=True, to="files.fileupload", verbose_name="Imágenes"
|
||||
),
|
||||
),
|
||||
migrations.AlterField(
|
||||
model_name="product",
|
||||
name="tags",
|
||||
field=models.ManyToManyField(
|
||||
blank=True, to="shop.tag", verbose_name="Etiquetas"
|
||||
),
|
||||
),
|
||||
]
|
||||
Reference in New Issue
Block a user