new sliders add for home page
This commit is contained in:
@@ -0,0 +1,58 @@
|
||||
# Generated by Django 5.1.2 on 2026-02-20 15:39
|
||||
|
||||
from django.db import migrations, models
|
||||
|
||||
|
||||
class Migration(migrations.Migration):
|
||||
|
||||
dependencies = [
|
||||
('account', '0034_add_telegram_chat_id_to_shop'),
|
||||
('product', '0071_maincategorymodel_show_in_home'),
|
||||
]
|
||||
|
||||
operations = [
|
||||
migrations.RemoveIndex(
|
||||
model_name='productmodel',
|
||||
name='product_show_idx',
|
||||
),
|
||||
migrations.RemoveField(
|
||||
model_name='productmodel',
|
||||
name='show',
|
||||
),
|
||||
migrations.AddField(
|
||||
model_name='productmodel',
|
||||
name='show_in_lot_of_discount',
|
||||
field=models.BooleanField(default=False, verbose_name='نمایش در پر تخفیف ها'),
|
||||
),
|
||||
migrations.AddField(
|
||||
model_name='productmodel',
|
||||
name='show_in_most_viewed',
|
||||
field=models.BooleanField(default=False, verbose_name='نمایش در پر بازدید ها'),
|
||||
),
|
||||
migrations.AddField(
|
||||
model_name='productmodel',
|
||||
name='show_in_top_seller',
|
||||
field=models.BooleanField(default=False, verbose_name='نمایش در پر فروش ها'),
|
||||
),
|
||||
migrations.AddField(
|
||||
model_name='productmodel',
|
||||
name='show_in_trends',
|
||||
field=models.BooleanField(default=False, verbose_name='نمایش در ترند ها'),
|
||||
),
|
||||
migrations.AddIndex(
|
||||
model_name='productmodel',
|
||||
index=models.Index(fields=['show_in_trends'], name='product_show_in_trends_idx'),
|
||||
),
|
||||
migrations.AddIndex(
|
||||
model_name='productmodel',
|
||||
index=models.Index(fields=['show_in_most_viewed'], name='product_most_viewed_idx'),
|
||||
),
|
||||
migrations.AddIndex(
|
||||
model_name='productmodel',
|
||||
index=models.Index(fields=['show_in_lot_of_discount'], name='product_lot_of_discount_idx'),
|
||||
),
|
||||
migrations.AddIndex(
|
||||
model_name='productmodel',
|
||||
index=models.Index(fields=['show_in_top_seller'], name='product_show_in_top_seller_idx'),
|
||||
),
|
||||
]
|
||||
Reference in New Issue
Block a user