Обновили шапку и вывод всехтоваров. Добавили фильтры
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
# Generated by Django 5.2.7 on 2025-10-23 20:27
|
||||
# Generated by Django 5.2.7 on 2025-10-25 13:44
|
||||
|
||||
import django.db.models.deletion
|
||||
from django.conf import settings
|
||||
@@ -267,4 +267,24 @@ class Migration(migrations.Migration):
|
||||
model_name='product',
|
||||
index=models.Index(fields=['is_deleted', 'created_at'], name='products_pr_is_dele_f30efb_idx'),
|
||||
),
|
||||
migrations.AddIndex(
|
||||
model_name='kititem',
|
||||
index=models.Index(fields=['kit'], name='products_ki_kit_id_d28dc9_idx'),
|
||||
),
|
||||
migrations.AddIndex(
|
||||
model_name='kititem',
|
||||
index=models.Index(fields=['product'], name='products_ki_product_d2ad00_idx'),
|
||||
),
|
||||
migrations.AddIndex(
|
||||
model_name='kititem',
|
||||
index=models.Index(fields=['variant_group'], name='products_ki_variant_e42628_idx'),
|
||||
),
|
||||
migrations.AddIndex(
|
||||
model_name='kititem',
|
||||
index=models.Index(fields=['kit', 'product'], name='products_ki_kit_id_14738f_idx'),
|
||||
),
|
||||
migrations.AddIndex(
|
||||
model_name='kititem',
|
||||
index=models.Index(fields=['kit', 'variant_group'], name='products_ki_kit_id_8199a8_idx'),
|
||||
),
|
||||
]
|
||||
|
||||
@@ -1,33 +0,0 @@
|
||||
# Generated by Django 5.2.7 on 2025-10-24 07:52
|
||||
|
||||
from django.db import migrations, models
|
||||
|
||||
|
||||
class Migration(migrations.Migration):
|
||||
|
||||
dependencies = [
|
||||
('products', '0001_initial'),
|
||||
]
|
||||
|
||||
operations = [
|
||||
migrations.AddIndex(
|
||||
model_name='kititem',
|
||||
index=models.Index(fields=['kit'], name='products_ki_kit_id_d28dc9_idx'),
|
||||
),
|
||||
migrations.AddIndex(
|
||||
model_name='kititem',
|
||||
index=models.Index(fields=['product'], name='products_ki_product_d2ad00_idx'),
|
||||
),
|
||||
migrations.AddIndex(
|
||||
model_name='kititem',
|
||||
index=models.Index(fields=['variant_group'], name='products_ki_variant_e42628_idx'),
|
||||
),
|
||||
migrations.AddIndex(
|
||||
model_name='kititem',
|
||||
index=models.Index(fields=['kit', 'product'], name='products_ki_kit_id_14738f_idx'),
|
||||
),
|
||||
migrations.AddIndex(
|
||||
model_name='kititem',
|
||||
index=models.Index(fields=['kit', 'variant_group'], name='products_ki_kit_id_8199a8_idx'),
|
||||
),
|
||||
]
|
||||
Reference in New Issue
Block a user