Introduce banner styles.
[wolnelektury.git] / src / annoy / migrations / 0007_auto_20191216_1126.py
1 # Generated by Django 2.2.6 on 2019-12-16 10:26
2
3 from django.db import migrations, models
4
5
6 class Migration(migrations.Migration):
7
8     dependencies = [
9         ('annoy', '0006_auto_20191213_1328'),
10     ]
11
12     operations = [
13         migrations.AddField(
14             model_name='banner',
15             name='image',
16             field=models.FileField(blank=True, upload_to='annoy/banners/', verbose_name='image'),
17         ),
18         migrations.AlterField(
19             model_name='banner',
20             name='action_label',
21             field=models.CharField(blank=True, help_text='If empty, whole banner will serve as a link', max_length=255, verbose_name='action label'),
22         ),
23         migrations.AlterField(
24             model_name='banner',
25             name='close_label',
26             field=models.CharField(blank=True, max_length=255, verbose_name='close label'),
27         ),
28         migrations.AlterField(
29             model_name='banner',
30             name='open_label',
31             field=models.CharField(blank=True, max_length=255, verbose_name='open label'),
32         ),
33         migrations.AlterField(
34             model_name='banner',
35             name='place',
36             field=models.SlugField(choices=[('top', 'Top of all pages.'), ('book-page', 'Book page'), ('book-text-intermission', 'Book text intermission'), ('book-fragment-list', 'Next to list of book fragments.'), ('blackout', 'Blackout')], verbose_name='place'),
37         ),
38         migrations.AlterField(
39             model_name='banner',
40             name='priority',
41             field=models.PositiveSmallIntegerField(default=0, help_text='Banners with higher priority come first.', verbose_name='priority'),
42         ),
43         migrations.AlterField(
44             model_name='banner',
45             name='show_members',
46             field=models.BooleanField(default=False, verbose_name='show members'),
47         ),
48         migrations.AlterField(
49             model_name='banner',
50             name='since',
51             field=models.DateTimeField(blank=True, null=True, verbose_name='since'),
52         ),
53         migrations.AlterField(
54             model_name='banner',
55             name='staff_preview',
56             field=models.BooleanField(default=False, verbose_name='staff preview'),
57         ),
58         migrations.AlterField(
59             model_name='banner',
60             name='text',
61             field=models.TextField(verbose_name='text'),
62         ),
63         migrations.AlterField(
64             model_name='banner',
65             name='text_de',
66             field=models.TextField(null=True, verbose_name='text'),
67         ),
68         migrations.AlterField(
69             model_name='banner',
70             name='text_en',
71             field=models.TextField(null=True, verbose_name='text'),
72         ),
73         migrations.AlterField(
74             model_name='banner',
75             name='text_es',
76             field=models.TextField(null=True, verbose_name='text'),
77         ),
78         migrations.AlterField(
79             model_name='banner',
80             name='text_fr',
81             field=models.TextField(null=True, verbose_name='text'),
82         ),
83         migrations.AlterField(
84             model_name='banner',
85             name='text_it',
86             field=models.TextField(null=True, verbose_name='text'),
87         ),
88         migrations.AlterField(
89             model_name='banner',
90             name='text_lt',
91             field=models.TextField(null=True, verbose_name='text'),
92         ),
93         migrations.AlterField(
94             model_name='banner',
95             name='text_pl',
96             field=models.TextField(null=True, verbose_name='text'),
97         ),
98         migrations.AlterField(
99             model_name='banner',
100             name='text_ru',
101             field=models.TextField(null=True, verbose_name='text'),
102         ),
103         migrations.AlterField(
104             model_name='banner',
105             name='text_uk',
106             field=models.TextField(null=True, verbose_name='text'),
107         ),
108         migrations.AlterField(
109             model_name='banner',
110             name='until',
111             field=models.DateTimeField(blank=True, null=True, verbose_name='until'),
112         ),
113         migrations.AlterField(
114             model_name='banner',
115             name='url',
116             field=models.CharField(max_length=1024, verbose_name='url'),
117         ),
118         migrations.AlterField(
119             model_name='dynamictextinserttext',
120             name='image',
121             field=models.FileField(blank=True, upload_to='annoy/inserts/'),
122         ),
123     ]