31 lines
1.4 KiB
Python
31 lines
1.4 KiB
Python
# Generated by Django 5.2.19 on 2026-11-22 05:29
|
|
|
|
import catalog.models
|
|
import django.core.validators
|
|
from django.db import migrations, models
|
|
|
|
|
|
class Migration(migrations.Migration):
|
|
|
|
dependencies = [
|
|
('catalog', '0016_author_signature'),
|
|
]
|
|
|
|
operations = [
|
|
migrations.AddField(
|
|
model_name='sitesettings',
|
|
name='homepage_countdown_background',
|
|
field=catalog.models.StudioImageField(blank=True, help_text='A landscape image works best. Leave blank to use the default landing background.', upload_to=catalog.models.image_path, validators=[catalog.models.validate_image], verbose_name='Landing background art'),
|
|
),
|
|
migrations.AddField(
|
|
model_name='sitesettings',
|
|
name='homepage_countdown_tint',
|
|
field=models.CharField(blank=True, default='#0c1020', max_length=7, validators=[django.core.validators.RegexValidator('\\A#[0-9a-fA-F]{6}\\Z', 'Enter a six-digit hex color, such as #0c1020.')], verbose_name='Background tint'),
|
|
),
|
|
migrations.AddField(
|
|
model_name='sitesettings',
|
|
name='homepage_countdown_tint_strength',
|
|
field=models.PositiveSmallIntegerField(default=65, help_text='0 shows the original art. 100 uses only the tint color.', validators=[django.core.validators.MaxValueValidator(100)], verbose_name='Tint strength'),
|
|
),
|
|
]
|