0.6.12
colors for subscribe
This commit is contained in:
@@ -0,0 +1,28 @@
|
||||
# Generated by Django 4.2.2 on 2023-08-30 16:11
|
||||
|
||||
import colorfield.fields
|
||||
from django.db import migrations
|
||||
|
||||
|
||||
class Migration(migrations.Migration):
|
||||
|
||||
dependencies = [
|
||||
('SubscribesApp', '0001_initial'),
|
||||
]
|
||||
|
||||
operations = [
|
||||
migrations.AlterModelOptions(
|
||||
name='subscribeoption',
|
||||
options={'ordering': ['order'], 'verbose_name': 'Опция подписки', 'verbose_name_plural': 'Опции подписки'},
|
||||
),
|
||||
migrations.AddField(
|
||||
model_name='subscribe',
|
||||
name='bg_color',
|
||||
field=colorfield.fields.ColorField(default='#FFFFFF', image_field=None, max_length=18, samples=None, verbose_name='Цвет фона'),
|
||||
),
|
||||
migrations.AddField(
|
||||
model_name='subscribe',
|
||||
name='text_color',
|
||||
field=colorfield.fields.ColorField(default='#000000', image_field=None, max_length=18, samples=None, verbose_name='Цвет текста'),
|
||||
),
|
||||
]
|
||||
Reference in New Issue
Block a user