1 # This file is part of Wolnelektury, licensed under GNU Affero GPLv3 or later.
2 # Copyright © Fundacja Nowoczesna Polska. See NOTICE for more information.
4 from django.db import migrations, models
5 import catalogue.fields
6 import catalogue.models.bookmedia
9 class Migration(migrations.Migration):
12 ('catalogue', '0007_auto_20151123_1529'),
16 migrations.AlterModelOptions(
18 options={'ordering': ('sort_key',), 'verbose_name': 'book', 'verbose_name_plural': 'books'},
20 migrations.AlterModelOptions(
22 options={'ordering': ('book', 'anchor'), 'verbose_name': 'fragment', 'verbose_name_plural': 'fragments'},
24 migrations.AlterField(
27 field=models.ManyToManyField(related_name='descendant', editable=False, to='catalogue.Book', blank=True),
29 migrations.AlterField(
32 field=models.SlugField(max_length=120, verbose_name='slug'),
34 migrations.AlterField(
37 field=models.TextField(verbose_name='description', blank=True),
39 migrations.AlterField(
42 field=models.TextField(default='{}', verbose_name='extra information'),
44 migrations.AlterField(
47 field=models.IntegerField(default=0, verbose_name='parent number'),
49 migrations.AlterField(
52 field=models.SlugField(unique=True, max_length=120, verbose_name='slug'),
54 migrations.AlterField(
57 field=models.CharField(verbose_name='sort key', max_length=120, editable=False, db_index=True),
59 migrations.AlterField(
62 field=models.CharField(max_length=32767, verbose_name='title'),
64 migrations.AlterField(
65 model_name='bookmedia',
67 field=models.TextField(default='{}', verbose_name='extra information', editable=False),
69 migrations.AlterField(
70 model_name='bookmedia',
72 field=catalogue.fields.OverwritingFileField(upload_to=catalogue.models.bookmedia._file_upload_to, max_length=600, verbose_name='file'),
74 migrations.AlterField(
75 model_name='collection',
77 field=models.TextField(verbose_name='book slugs'),
79 migrations.AlterField(
80 model_name='collection',
82 field=models.TextField(null=True, verbose_name='description', blank=True),
84 migrations.AlterField(
85 model_name='collection',
86 name='description_de',
87 field=models.TextField(null=True, verbose_name='description', blank=True),
89 migrations.AlterField(
90 model_name='collection',
91 name='description_en',
92 field=models.TextField(null=True, verbose_name='description', blank=True),
94 migrations.AlterField(
95 model_name='collection',
96 name='description_es',
97 field=models.TextField(null=True, verbose_name='description', blank=True),
99 migrations.AlterField(
100 model_name='collection',
101 name='description_fr',
102 field=models.TextField(null=True, verbose_name='description', blank=True),
104 migrations.AlterField(
105 model_name='collection',
106 name='description_it',
107 field=models.TextField(null=True, verbose_name='description', blank=True),
109 migrations.AlterField(
110 model_name='collection',
111 name='description_lt',
112 field=models.TextField(null=True, verbose_name='description', blank=True),
114 migrations.AlterField(
115 model_name='collection',
116 name='description_pl',
117 field=models.TextField(null=True, verbose_name='description', blank=True),
119 migrations.AlterField(
120 model_name='collection',
121 name='description_ru',
122 field=models.TextField(null=True, verbose_name='description', blank=True),
124 migrations.AlterField(
125 model_name='collection',
126 name='description_uk',
127 field=models.TextField(null=True, verbose_name='description', blank=True),
129 migrations.AlterField(
130 model_name='collection',
132 field=models.CharField(default='book', max_length=10, verbose_name='kind', db_index=True, choices=[('book', 'book'), ('picture', 'picture')]),
134 migrations.AlterField(
135 model_name='collection',
137 field=models.SlugField(max_length=120, serialize=False, verbose_name='slug', primary_key=True),
139 migrations.AlterField(
140 model_name='collection',
142 field=models.CharField(max_length=120, verbose_name='title', db_index=True),
144 migrations.AlterField(
145 model_name='collection',
147 field=models.CharField(max_length=120, null=True, verbose_name='title', db_index=True),
149 migrations.AlterField(
150 model_name='collection',
152 field=models.CharField(max_length=120, null=True, verbose_name='title', db_index=True),
154 migrations.AlterField(
155 model_name='collection',
157 field=models.CharField(max_length=120, null=True, verbose_name='title', db_index=True),
159 migrations.AlterField(
160 model_name='collection',
162 field=models.CharField(max_length=120, null=True, verbose_name='title', db_index=True),
164 migrations.AlterField(
165 model_name='collection',
167 field=models.CharField(max_length=120, null=True, verbose_name='title', db_index=True),
169 migrations.AlterField(
170 model_name='collection',
172 field=models.CharField(max_length=120, null=True, verbose_name='title', db_index=True),
174 migrations.AlterField(
175 model_name='collection',
177 field=models.CharField(max_length=120, null=True, verbose_name='title', db_index=True),
179 migrations.AlterField(
180 model_name='collection',
182 field=models.CharField(max_length=120, null=True, verbose_name='title', db_index=True),
184 migrations.AlterField(
185 model_name='collection',
187 field=models.CharField(max_length=120, null=True, verbose_name='title', db_index=True),
189 migrations.AlterField(
192 field=models.CharField(db_index=True, max_length=50, verbose_name='category', choices=[('author', 'author'), ('epoch', 'epoch'), ('kind', 'kind'), ('genre', 'genre'), ('theme', 'theme'), ('set', 'set'), ('thing', 'thing')]),
194 migrations.AlterField(
197 field=models.TextField(verbose_name='description', blank=True),
199 migrations.AlterField(
201 name='description_de',
202 field=models.TextField(null=True, verbose_name='description', blank=True),
204 migrations.AlterField(
206 name='description_en',
207 field=models.TextField(null=True, verbose_name='description', blank=True),
209 migrations.AlterField(
211 name='description_es',
212 field=models.TextField(null=True, verbose_name='description', blank=True),
214 migrations.AlterField(
216 name='description_fr',
217 field=models.TextField(null=True, verbose_name='description', blank=True),
219 migrations.AlterField(
221 name='description_it',
222 field=models.TextField(null=True, verbose_name='description', blank=True),
224 migrations.AlterField(
226 name='description_lt',
227 field=models.TextField(null=True, verbose_name='description', blank=True),
229 migrations.AlterField(
231 name='description_pl',
232 field=models.TextField(null=True, verbose_name='description', blank=True),
234 migrations.AlterField(
236 name='description_ru',
237 field=models.TextField(null=True, verbose_name='description', blank=True),
239 migrations.AlterField(
241 name='description_uk',
242 field=models.TextField(null=True, verbose_name='description', blank=True),
244 migrations.AlterField(
247 field=models.SlugField(max_length=120, verbose_name='slug'),
249 migrations.AlterField(
252 field=models.CharField(max_length=120, verbose_name='sort key', db_index=True),