1 # -*- coding: utf-8 -*-
2 from __future__ import unicode_literals
4 from django.db import migrations, models
5 import jsonfield.fields
6 import catalogue.fields
7 import catalogue.models.bookmedia
10 class Migration(migrations.Migration):
13 ('catalogue', '0007_auto_20151123_1529'),
17 migrations.AlterModelOptions(
19 options={'ordering': ('sort_key',), 'verbose_name': 'book', 'verbose_name_plural': 'books'},
21 migrations.AlterModelOptions(
23 options={'ordering': ('book', 'anchor'), 'verbose_name': 'fragment', 'verbose_name_plural': 'fragments'},
25 migrations.AlterField(
28 field=models.ManyToManyField(related_name='descendant', editable=False, to='catalogue.Book', blank=True),
30 migrations.AlterField(
33 field=models.SlugField(max_length=120, verbose_name='slug'),
35 migrations.AlterField(
38 field=models.TextField(verbose_name='description', blank=True),
40 migrations.AlterField(
43 field=jsonfield.fields.JSONField(default={}, verbose_name='extra information'),
45 migrations.AlterField(
48 field=models.IntegerField(default=0, verbose_name='parent number'),
50 migrations.AlterField(
53 field=models.SlugField(unique=True, max_length=120, verbose_name='slug'),
55 migrations.AlterField(
58 field=models.CharField(verbose_name='sort key', max_length=120, editable=False, db_index=True),
60 migrations.AlterField(
63 field=models.CharField(max_length=32767, verbose_name='title'),
65 migrations.AlterField(
66 model_name='bookmedia',
68 field=jsonfield.fields.JSONField(default={}, verbose_name='extra information', editable=False),
70 migrations.AlterField(
71 model_name='bookmedia',
73 field=catalogue.fields.OverwritingFileField(upload_to=catalogue.models.bookmedia._file_upload_to, max_length=600, verbose_name='file'),
75 migrations.AlterField(
76 model_name='collection',
78 field=models.TextField(verbose_name='book slugs'),
80 migrations.AlterField(
81 model_name='collection',
83 field=models.TextField(null=True, verbose_name='description', blank=True),
85 migrations.AlterField(
86 model_name='collection',
87 name='description_de',
88 field=models.TextField(null=True, verbose_name='description', blank=True),
90 migrations.AlterField(
91 model_name='collection',
92 name='description_en',
93 field=models.TextField(null=True, verbose_name='description', blank=True),
95 migrations.AlterField(
96 model_name='collection',
97 name='description_es',
98 field=models.TextField(null=True, verbose_name='description', blank=True),
100 migrations.AlterField(
101 model_name='collection',
102 name='description_fr',
103 field=models.TextField(null=True, verbose_name='description', blank=True),
105 migrations.AlterField(
106 model_name='collection',
107 name='description_it',
108 field=models.TextField(null=True, verbose_name='description', blank=True),
110 migrations.AlterField(
111 model_name='collection',
112 name='description_lt',
113 field=models.TextField(null=True, verbose_name='description', blank=True),
115 migrations.AlterField(
116 model_name='collection',
117 name='description_pl',
118 field=models.TextField(null=True, verbose_name='description', blank=True),
120 migrations.AlterField(
121 model_name='collection',
122 name='description_ru',
123 field=models.TextField(null=True, verbose_name='description', blank=True),
125 migrations.AlterField(
126 model_name='collection',
127 name='description_uk',
128 field=models.TextField(null=True, verbose_name='description', blank=True),
130 migrations.AlterField(
131 model_name='collection',
133 field=models.CharField(default=b'book', max_length=10, verbose_name='kind', db_index=True, choices=[(b'book', 'book'), (b'picture', b'picture')]),
135 migrations.AlterField(
136 model_name='collection',
138 field=models.SlugField(max_length=120, serialize=False, verbose_name='slug', primary_key=True),
140 migrations.AlterField(
141 model_name='collection',
143 field=models.CharField(max_length=120, verbose_name='title', db_index=True),
145 migrations.AlterField(
146 model_name='collection',
148 field=models.CharField(max_length=120, null=True, verbose_name='title', db_index=True),
150 migrations.AlterField(
151 model_name='collection',
153 field=models.CharField(max_length=120, null=True, verbose_name='title', db_index=True),
155 migrations.AlterField(
156 model_name='collection',
158 field=models.CharField(max_length=120, null=True, verbose_name='title', db_index=True),
160 migrations.AlterField(
161 model_name='collection',
163 field=models.CharField(max_length=120, null=True, verbose_name='title', db_index=True),
165 migrations.AlterField(
166 model_name='collection',
168 field=models.CharField(max_length=120, null=True, verbose_name='title', db_index=True),
170 migrations.AlterField(
171 model_name='collection',
173 field=models.CharField(max_length=120, null=True, verbose_name='title', db_index=True),
175 migrations.AlterField(
176 model_name='collection',
178 field=models.CharField(max_length=120, null=True, verbose_name='title', db_index=True),
180 migrations.AlterField(
181 model_name='collection',
183 field=models.CharField(max_length=120, null=True, verbose_name='title', db_index=True),
185 migrations.AlterField(
186 model_name='collection',
188 field=models.CharField(max_length=120, null=True, verbose_name='title', db_index=True),
190 migrations.AlterField(
193 field=models.CharField(db_index=True, max_length=50, verbose_name='category', choices=[(b'author', 'author'), (b'epoch', 'epoch'), (b'kind', 'kind'), (b'genre', 'genre'), (b'theme', 'theme'), (b'set', 'set'), (b'thing', 'thing')]),
195 migrations.AlterField(
198 field=models.TextField(verbose_name='description', blank=True),
200 migrations.AlterField(
202 name='description_de',
203 field=models.TextField(null=True, verbose_name='description', blank=True),
205 migrations.AlterField(
207 name='description_en',
208 field=models.TextField(null=True, verbose_name='description', blank=True),
210 migrations.AlterField(
212 name='description_es',
213 field=models.TextField(null=True, verbose_name='description', blank=True),
215 migrations.AlterField(
217 name='description_fr',
218 field=models.TextField(null=True, verbose_name='description', blank=True),
220 migrations.AlterField(
222 name='description_it',
223 field=models.TextField(null=True, verbose_name='description', blank=True),
225 migrations.AlterField(
227 name='description_lt',
228 field=models.TextField(null=True, verbose_name='description', blank=True),
230 migrations.AlterField(
232 name='description_pl',
233 field=models.TextField(null=True, verbose_name='description', blank=True),
235 migrations.AlterField(
237 name='description_ru',
238 field=models.TextField(null=True, verbose_name='description', blank=True),
240 migrations.AlterField(
242 name='description_uk',
243 field=models.TextField(null=True, verbose_name='description', blank=True),
245 migrations.AlterField(
248 field=models.SlugField(max_length=120, verbose_name='slug'),
250 migrations.AlterField(
253 field=models.CharField(max_length=120, verbose_name='sort key', db_index=True),