feat: add people sections and opt-in read more
This commit is contained in:
@@ -0,0 +1,43 @@
|
||||
# Generated by Django 5.2.16 on 2026-10-12 04:52
|
||||
|
||||
from django.db import migrations, models
|
||||
|
||||
|
||||
class Migration(migrations.Migration):
|
||||
|
||||
dependencies = [
|
||||
('products', '0022_alter_mainproduct_options_alter_productvideo_options_and_more'),
|
||||
]
|
||||
|
||||
operations = [
|
||||
migrations.AddField(
|
||||
model_name='article',
|
||||
name='read_more_description',
|
||||
field=models.BooleanField(default=False, help_text='Collapse this article text with Read more.'),
|
||||
),
|
||||
migrations.AddField(
|
||||
model_name='articlesection',
|
||||
name='read_more_value',
|
||||
field=models.BooleanField(default=False, help_text='Collapse this section text with Read more.'),
|
||||
),
|
||||
migrations.AddField(
|
||||
model_name='mainproduct',
|
||||
name='read_more_description',
|
||||
field=models.BooleanField(default=False, help_text='Collapse the full description with Read more.'),
|
||||
),
|
||||
migrations.AddField(
|
||||
model_name='mainproduct',
|
||||
name='read_more_short_description',
|
||||
field=models.BooleanField(default=False, help_text='Collapse the short description with Read more.'),
|
||||
),
|
||||
migrations.AddField(
|
||||
model_name='subproduct',
|
||||
name='read_more_description',
|
||||
field=models.BooleanField(default=False, help_text='Collapse the full description with Read more.'),
|
||||
),
|
||||
migrations.AddField(
|
||||
model_name='subproduct',
|
||||
name='read_more_short_description',
|
||||
field=models.BooleanField(default=False, help_text='Collapse the short description with Read more.'),
|
||||
),
|
||||
]
|
||||
@@ -0,0 +1,23 @@
|
||||
# Generated by Django 5.2.16 on 2026-10-12 11:11
|
||||
|
||||
from django.db import migrations, models
|
||||
|
||||
|
||||
class Migration(migrations.Migration):
|
||||
|
||||
dependencies = [
|
||||
('products', '0023_article_read_more_description_and_more'),
|
||||
]
|
||||
|
||||
operations = [
|
||||
migrations.AddField(
|
||||
model_name='articlecitation',
|
||||
name='read_more_text',
|
||||
field=models.BooleanField(default=False, help_text='Collapse a long citation with Read more.'),
|
||||
),
|
||||
migrations.AddField(
|
||||
model_name='productvideo',
|
||||
name='read_more_description',
|
||||
field=models.BooleanField(default=False, help_text='Collapse this video description with Read more.'),
|
||||
),
|
||||
]
|
||||
Reference in New Issue
Block a user