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