feedback yozish qoshildi va kesh muamo si togirladi
This commit is contained in:
@@ -0,0 +1,27 @@
|
||||
# Generated by Django 5.1.2 on 2026-03-30 14:49
|
||||
|
||||
from django.db import migrations, models
|
||||
|
||||
|
||||
class Migration(migrations.Migration):
|
||||
|
||||
dependencies = [
|
||||
("api", "0005_filialmodel_image"),
|
||||
]
|
||||
|
||||
operations = [
|
||||
migrations.AlterModelOptions(
|
||||
name="categorymodel",
|
||||
options={"ordering": ["order"], "verbose_name": "CategoryModel", "verbose_name_plural": "CategoryModels"},
|
||||
),
|
||||
migrations.AddField(
|
||||
model_name="categorymodel",
|
||||
name="active_image",
|
||||
field=models.ImageField(blank=True, null=True, upload_to="categories/active/", verbose_name="active image"),
|
||||
),
|
||||
migrations.AddField(
|
||||
model_name="categorymodel",
|
||||
name="order",
|
||||
field=models.PositiveIntegerField(default=0, verbose_name="order"),
|
||||
),
|
||||
]
|
||||
Reference in New Issue
Block a user