edit buttons
[wolnelektury.git] / src / catalogue / migrations / 0008_auto_20151221_1225.py
1 # This file is part of Wolnelektury, licensed under GNU Affero GPLv3 or later.
2 # Copyright © Fundacja Nowoczesna Polska. See NOTICE for more information.
3 #
4 from django.db import migrations, models
5 import catalogue.fields
6 import catalogue.models.bookmedia
7
8
9 class Migration(migrations.Migration):
10
11     dependencies = [
12         ('catalogue', '0007_auto_20151123_1529'),
13     ]
14
15     operations = [
16         migrations.AlterModelOptions(
17             name='book',
18             options={'ordering': ('sort_key',), 'verbose_name': 'book', 'verbose_name_plural': 'books'},
19         ),
20         migrations.AlterModelOptions(
21             name='fragment',
22             options={'ordering': ('book', 'anchor'), 'verbose_name': 'fragment', 'verbose_name_plural': 'fragments'},
23         ),
24         migrations.AlterField(
25             model_name='book',
26             name='ancestor',
27             field=models.ManyToManyField(related_name='descendant', editable=False, to='catalogue.Book', blank=True),
28         ),
29         migrations.AlterField(
30             model_name='book',
31             name='common_slug',
32             field=models.SlugField(max_length=120, verbose_name='slug'),
33         ),
34         migrations.AlterField(
35             model_name='book',
36             name='description',
37             field=models.TextField(verbose_name='description', blank=True),
38         ),
39         migrations.AlterField(
40             model_name='book',
41             name='extra_info',
42             field=models.TextField(default='{}', verbose_name='extra information'),
43         ),
44         migrations.AlterField(
45             model_name='book',
46             name='parent_number',
47             field=models.IntegerField(default=0, verbose_name='parent number'),
48         ),
49         migrations.AlterField(
50             model_name='book',
51             name='slug',
52             field=models.SlugField(unique=True, max_length=120, verbose_name='slug'),
53         ),
54         migrations.AlterField(
55             model_name='book',
56             name='sort_key',
57             field=models.CharField(verbose_name='sort key', max_length=120, editable=False, db_index=True),
58         ),
59         migrations.AlterField(
60             model_name='book',
61             name='title',
62             field=models.CharField(max_length=32767, verbose_name='title'),
63         ),
64         migrations.AlterField(
65             model_name='bookmedia',
66             name='extra_info',
67             field=models.TextField(default='{}', verbose_name='extra information', editable=False),
68         ),
69         migrations.AlterField(
70             model_name='bookmedia',
71             name='file',
72             field=catalogue.fields.OverwritingFileField(upload_to=catalogue.models.bookmedia._file_upload_to, max_length=600, verbose_name='file'),
73         ),
74         migrations.AlterField(
75             model_name='collection',
76             name='book_slugs',
77             field=models.TextField(verbose_name='book slugs'),
78         ),
79         migrations.AlterField(
80             model_name='collection',
81             name='description',
82             field=models.TextField(null=True, verbose_name='description', blank=True),
83         ),
84         migrations.AlterField(
85             model_name='collection',
86             name='description_de',
87             field=models.TextField(null=True, verbose_name='description', blank=True),
88         ),
89         migrations.AlterField(
90             model_name='collection',
91             name='description_en',
92             field=models.TextField(null=True, verbose_name='description', blank=True),
93         ),
94         migrations.AlterField(
95             model_name='collection',
96             name='description_es',
97             field=models.TextField(null=True, verbose_name='description', blank=True),
98         ),
99         migrations.AlterField(
100             model_name='collection',
101             name='description_fr',
102             field=models.TextField(null=True, verbose_name='description', blank=True),
103         ),
104         migrations.AlterField(
105             model_name='collection',
106             name='description_it',
107             field=models.TextField(null=True, verbose_name='description', blank=True),
108         ),
109         migrations.AlterField(
110             model_name='collection',
111             name='description_lt',
112             field=models.TextField(null=True, verbose_name='description', blank=True),
113         ),
114         migrations.AlterField(
115             model_name='collection',
116             name='description_pl',
117             field=models.TextField(null=True, verbose_name='description', blank=True),
118         ),
119         migrations.AlterField(
120             model_name='collection',
121             name='description_ru',
122             field=models.TextField(null=True, verbose_name='description', blank=True),
123         ),
124         migrations.AlterField(
125             model_name='collection',
126             name='description_uk',
127             field=models.TextField(null=True, verbose_name='description', blank=True),
128         ),
129         migrations.AlterField(
130             model_name='collection',
131             name='kind',
132             field=models.CharField(default='book', max_length=10, verbose_name='kind', db_index=True, choices=[('book', 'book'), ('picture', 'picture')]),
133         ),
134         migrations.AlterField(
135             model_name='collection',
136             name='slug',
137             field=models.SlugField(max_length=120, serialize=False, verbose_name='slug', primary_key=True),
138         ),
139         migrations.AlterField(
140             model_name='collection',
141             name='title',
142             field=models.CharField(max_length=120, verbose_name='title', db_index=True),
143         ),
144         migrations.AlterField(
145             model_name='collection',
146             name='title_de',
147             field=models.CharField(max_length=120, null=True, verbose_name='title', db_index=True),
148         ),
149         migrations.AlterField(
150             model_name='collection',
151             name='title_en',
152             field=models.CharField(max_length=120, null=True, verbose_name='title', db_index=True),
153         ),
154         migrations.AlterField(
155             model_name='collection',
156             name='title_es',
157             field=models.CharField(max_length=120, null=True, verbose_name='title', db_index=True),
158         ),
159         migrations.AlterField(
160             model_name='collection',
161             name='title_fr',
162             field=models.CharField(max_length=120, null=True, verbose_name='title', db_index=True),
163         ),
164         migrations.AlterField(
165             model_name='collection',
166             name='title_it',
167             field=models.CharField(max_length=120, null=True, verbose_name='title', db_index=True),
168         ),
169         migrations.AlterField(
170             model_name='collection',
171             name='title_lt',
172             field=models.CharField(max_length=120, null=True, verbose_name='title', db_index=True),
173         ),
174         migrations.AlterField(
175             model_name='collection',
176             name='title_pl',
177             field=models.CharField(max_length=120, null=True, verbose_name='title', db_index=True),
178         ),
179         migrations.AlterField(
180             model_name='collection',
181             name='title_ru',
182             field=models.CharField(max_length=120, null=True, verbose_name='title', db_index=True),
183         ),
184         migrations.AlterField(
185             model_name='collection',
186             name='title_uk',
187             field=models.CharField(max_length=120, null=True, verbose_name='title', db_index=True),
188         ),
189         migrations.AlterField(
190             model_name='tag',
191             name='category',
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')]),
193         ),
194         migrations.AlterField(
195             model_name='tag',
196             name='description',
197             field=models.TextField(verbose_name='description', blank=True),
198         ),
199         migrations.AlterField(
200             model_name='tag',
201             name='description_de',
202             field=models.TextField(null=True, verbose_name='description', blank=True),
203         ),
204         migrations.AlterField(
205             model_name='tag',
206             name='description_en',
207             field=models.TextField(null=True, verbose_name='description', blank=True),
208         ),
209         migrations.AlterField(
210             model_name='tag',
211             name='description_es',
212             field=models.TextField(null=True, verbose_name='description', blank=True),
213         ),
214         migrations.AlterField(
215             model_name='tag',
216             name='description_fr',
217             field=models.TextField(null=True, verbose_name='description', blank=True),
218         ),
219         migrations.AlterField(
220             model_name='tag',
221             name='description_it',
222             field=models.TextField(null=True, verbose_name='description', blank=True),
223         ),
224         migrations.AlterField(
225             model_name='tag',
226             name='description_lt',
227             field=models.TextField(null=True, verbose_name='description', blank=True),
228         ),
229         migrations.AlterField(
230             model_name='tag',
231             name='description_pl',
232             field=models.TextField(null=True, verbose_name='description', blank=True),
233         ),
234         migrations.AlterField(
235             model_name='tag',
236             name='description_ru',
237             field=models.TextField(null=True, verbose_name='description', blank=True),
238         ),
239         migrations.AlterField(
240             model_name='tag',
241             name='description_uk',
242             field=models.TextField(null=True, verbose_name='description', blank=True),
243         ),
244         migrations.AlterField(
245             model_name='tag',
246             name='slug',
247             field=models.SlugField(max_length=120, verbose_name='slug'),
248         ),
249         migrations.AlterField(
250             model_name='tag',
251             name='sort_key',
252             field=models.CharField(max_length=120, verbose_name='sort key', db_index=True),
253         ),
254     ]