Add 'show_in_bot' field to ProductModel and implement BotProductsView for bot integration
This commit is contained in:
@@ -0,0 +1,18 @@
|
||||
# Generated by Django 5.1.2 on 2025-08-04 19:44
|
||||
|
||||
from django.db import migrations, models
|
||||
|
||||
|
||||
class Migration(migrations.Migration):
|
||||
|
||||
dependencies = [
|
||||
('product', '0052_productmodel_shop'),
|
||||
]
|
||||
|
||||
operations = [
|
||||
migrations.AddField(
|
||||
model_name='productmodel',
|
||||
name='show_in_bot',
|
||||
field=models.BooleanField(default=False, verbose_name='نمایش در ربات'),
|
||||
),
|
||||
]
|
||||
Reference in New Issue
Block a user