feat: Удалить поле примечание из компонентов комплектов
Удалено ненужное поле 'notes' из формы создания/редактирования комплектов: - Удалено из модели KitItem - Удалено из формы KitItemForm - Удалено из template kititem_formset.html - Удалено из formset'ов KitItemFormSetCreate и KitItemFormSetUpdate - Создана миграция БД для удаления поля из базы данных Теперь каждый товар в комплекте отображается с 4 полями: - Товар (или Группа вариантов) - Количество - Кнопка удаления - ID (скрытое) 🤖 Generated with Claude Code Co-Authored-By: Claude <noreply@anthropic.com>
This commit is contained in:
17
myproject/products/migrations/0005_remove_kititem_notes.py
Normal file
17
myproject/products/migrations/0005_remove_kititem_notes.py
Normal file
@@ -0,0 +1,17 @@
|
||||
# Generated by Django 5.0.10 on 2025-11-02 18:06
|
||||
|
||||
from django.db import migrations
|
||||
|
||||
|
||||
class Migration(migrations.Migration):
|
||||
|
||||
dependencies = [
|
||||
('products', '0004_add_kit_price_adjustment_fields'),
|
||||
]
|
||||
|
||||
operations = [
|
||||
migrations.RemoveField(
|
||||
model_name='kititem',
|
||||
name='notes',
|
||||
),
|
||||
]
|
||||
Reference in New Issue
Block a user