Thema upload.
[redakcja.git] / src / catalogue / migrations / 0029_auto_20201102_1315.py
1 # Generated by Django 3.0.4 on 2020-11-02 13:15
2
3 from django.db import migrations, models
4 import django.db.models.deletion
5
6
7 class Migration(migrations.Migration):
8
9     dependencies = [
10         ('catalogue', '0028_auto_20201102_1109'),
11     ]
12
13     operations = [
14         migrations.AlterModelOptions(
15             name='collection',
16             options={'ordering': ('category', 'name'), 'verbose_name': 'collection', 'verbose_name_plural': 'collections'},
17         ),
18         migrations.AlterModelOptions(
19             name='collectioncategory',
20             options={'ordering': ('parent__name', 'name'), 'verbose_name': 'collection category', 'verbose_name_plural': 'collection categories'},
21         ),
22         migrations.AlterModelOptions(
23             name='workrate',
24             options={'ordering': ('priority',), 'verbose_name': 'work rate', 'verbose_name_plural': 'work rates'},
25         ),
26         migrations.AlterModelOptions(
27             name='worktype',
28             options={'ordering': ('name',), 'verbose_name': 'work type', 'verbose_name_plural': 'work types'},
29         ),
30         migrations.AlterField(
31             model_name='author',
32             name='collections',
33             field=models.ManyToManyField(blank=True, to='catalogue.Collection', verbose_name='collections'),
34         ),
35         migrations.AlterField(
36             model_name='author',
37             name='culturepl_link',
38             field=models.CharField(blank=True, max_length=255, verbose_name='culture.pl link'),
39         ),
40         migrations.AlterField(
41             model_name='author',
42             name='description',
43             field=models.TextField(blank=True, verbose_name='description'),
44         ),
45         migrations.AlterField(
46             model_name='author',
47             name='description_de',
48             field=models.TextField(blank=True, verbose_name='description (de)'),
49         ),
50         migrations.AlterField(
51             model_name='author',
52             name='description_lt',
53             field=models.TextField(blank=True, verbose_name='description (lt)'),
54         ),
55         migrations.AlterField(
56             model_name='author',
57             name='first_name',
58             field=models.CharField(blank=True, max_length=255, verbose_name='first name'),
59         ),
60         migrations.AlterField(
61             model_name='author',
62             name='gazeta_link',
63             field=models.CharField(blank=True, max_length=255, verbose_name='gazeta link'),
64         ),
65         migrations.AlterField(
66             model_name='author',
67             name='gender',
68             field=models.CharField(blank=True, max_length=255, verbose_name='gender'),
69         ),
70         migrations.AlterField(
71             model_name='author',
72             name='last_name',
73             field=models.CharField(blank=True, max_length=255, verbose_name='last name'),
74         ),
75         migrations.AlterField(
76             model_name='author',
77             name='name_de',
78             field=models.CharField(blank=True, max_length=255, verbose_name='name (de)'),
79         ),
80         migrations.AlterField(
81             model_name='author',
82             name='name_lt',
83             field=models.CharField(blank=True, max_length=255, verbose_name='name (lt)'),
84         ),
85         migrations.AlterField(
86             model_name='author',
87             name='nationality',
88             field=models.CharField(blank=True, max_length=255, verbose_name='nationality'),
89         ),
90         migrations.AlterField(
91             model_name='author',
92             name='notes',
93             field=models.TextField(blank=True, verbose_name='notes'),
94         ),
95         migrations.AlterField(
96             model_name='author',
97             name='priority',
98             field=models.PositiveSmallIntegerField(choices=[(0, 'Low'), (1, 'Medium'), (2, 'High')], default=0, verbose_name='priority'),
99         ),
100         migrations.AlterField(
101             model_name='author',
102             name='status',
103             field=models.PositiveSmallIntegerField(blank=True, choices=[(1, 'Alive'), (2, 'Dead'), (3, 'Long dead'), (4, 'Unknown')], null=True, verbose_name='status'),
104         ),
105         migrations.AlterField(
106             model_name='author',
107             name='year_of_death',
108             field=models.SmallIntegerField(blank=True, null=True, verbose_name='year of death'),
109         ),
110         migrations.AlterField(
111             model_name='book',
112             name='authors',
113             field=models.ManyToManyField(blank=True, to='catalogue.Author', verbose_name='authors'),
114         ),
115         migrations.AlterField(
116             model_name='book',
117             name='based_on',
118             field=models.ForeignKey(blank=True, null=True, on_delete=django.db.models.deletion.PROTECT, related_name='translation', to='catalogue.Book', verbose_name='based on'),
119         ),
120         migrations.AlterField(
121             model_name='book',
122             name='collections',
123             field=models.ManyToManyField(blank=True, to='catalogue.Collection', verbose_name='collections'),
124         ),
125         migrations.AlterField(
126             model_name='book',
127             name='epochs',
128             field=models.ManyToManyField(blank=True, to='catalogue.Epoch', verbose_name='epochs'),
129         ),
130         migrations.AlterField(
131             model_name='book',
132             name='estimate_source',
133             field=models.CharField(blank=True, max_length=2048, verbose_name='source of estimates'),
134         ),
135         migrations.AlterField(
136             model_name='book',
137             name='estimated_chars',
138             field=models.IntegerField(blank=True, null=True, verbose_name='estimated number of characters'),
139         ),
140         migrations.AlterField(
141             model_name='book',
142             name='estimated_verses',
143             field=models.IntegerField(blank=True, null=True, verbose_name='estimated number of verses'),
144         ),
145         migrations.AlterField(
146             model_name='book',
147             name='gazeta_link',
148             field=models.CharField(blank=True, max_length=255, verbose_name='gazeta link'),
149         ),
150         migrations.AlterField(
151             model_name='book',
152             name='genres',
153             field=models.ManyToManyField(blank=True, to='catalogue.Genre', verbose_name='genres'),
154         ),
155         migrations.AlterField(
156             model_name='book',
157             name='kinds',
158             field=models.ManyToManyField(blank=True, to='catalogue.Kind', verbose_name='kinds'),
159         ),
160         migrations.AlterField(
161             model_name='book',
162             name='language',
163             field=models.CharField(blank=True, max_length=255, verbose_name='language'),
164         ),
165         migrations.AlterField(
166             model_name='book',
167             name='notes',
168             field=models.TextField(blank=True, verbose_name='notes'),
169         ),
170         migrations.AlterField(
171             model_name='book',
172             name='pd_year',
173             field=models.IntegerField(blank=True, null=True, verbose_name='year of entry into PD'),
174         ),
175         migrations.AlterField(
176             model_name='book',
177             name='priority',
178             field=models.PositiveSmallIntegerField(choices=[(0, 'Low'), (1, 'Medium'), (2, 'High')], default=0, verbose_name='priority'),
179         ),
180         migrations.AlterField(
181             model_name='book',
182             name='scans_source',
183             field=models.CharField(blank=True, max_length=255, verbose_name='scans source'),
184         ),
185         migrations.AlterField(
186             model_name='book',
187             name='text_source',
188             field=models.CharField(blank=True, max_length=255, verbose_name='text source'),
189         ),
190         migrations.AlterField(
191             model_name='book',
192             name='title',
193             field=models.CharField(blank=True, max_length=255, verbose_name='title'),
194         ),
195         migrations.AlterField(
196             model_name='book',
197             name='translators',
198             field=models.ManyToManyField(blank=True, related_name='translated_book_set', related_query_name='translated_book', to='catalogue.Author', verbose_name='translators'),
199         ),
200         migrations.AlterField(
201             model_name='collection',
202             name='category',
203             field=models.ForeignKey(blank=True, null=True, on_delete=django.db.models.deletion.SET_NULL, to='catalogue.CollectionCategory', verbose_name='category'),
204         ),
205         migrations.AlterField(
206             model_name='collection',
207             name='name',
208             field=models.CharField(max_length=255, verbose_name='name'),
209         ),
210         migrations.AlterField(
211             model_name='collectioncategory',
212             name='name',
213             field=models.CharField(max_length=255, verbose_name='name'),
214         ),
215         migrations.AlterField(
216             model_name='collectioncategory',
217             name='parent',
218             field=models.ForeignKey(blank=True, null=True, on_delete=django.db.models.deletion.SET_NULL, related_name='children', to='catalogue.CollectionCategory', verbose_name='parent'),
219         ),
220         migrations.AlterField(
221             model_name='epoch',
222             name='name',
223             field=models.CharField(max_length=255, verbose_name='name'),
224         ),
225         migrations.AlterField(
226             model_name='genre',
227             name='name',
228             field=models.CharField(max_length=255, verbose_name='name'),
229         ),
230         migrations.AlterField(
231             model_name='kind',
232             name='name',
233             field=models.CharField(max_length=255, verbose_name='name'),
234         ),
235         migrations.AlterField(
236             model_name='workrate',
237             name='collections',
238             field=models.ManyToManyField(blank=True, to='catalogue.Collection', verbose_name='collections'),
239         ),
240         migrations.AlterField(
241             model_name='workrate',
242             name='epochs',
243             field=models.ManyToManyField(blank=True, to='catalogue.Epoch', verbose_name='epochs'),
244         ),
245         migrations.AlterField(
246             model_name='workrate',
247             name='genres',
248             field=models.ManyToManyField(blank=True, to='catalogue.Genre', verbose_name='genres'),
249         ),
250         migrations.AlterField(
251             model_name='workrate',
252             name='kinds',
253             field=models.ManyToManyField(blank=True, to='catalogue.Kind', verbose_name='kinds'),
254         ),
255         migrations.AlterField(
256             model_name='workrate',
257             name='per_normpage',
258             field=models.DecimalField(blank=True, decimal_places=2, max_digits=6, null=True, verbose_name='per normalized page'),
259         ),
260         migrations.AlterField(
261             model_name='workrate',
262             name='per_verse',
263             field=models.DecimalField(blank=True, decimal_places=2, max_digits=6, null=True, verbose_name='per verse'),
264         ),
265         migrations.AlterField(
266             model_name='workrate',
267             name='priority',
268             field=models.IntegerField(default=1, verbose_name='priority'),
269         ),
270         migrations.AlterField(
271             model_name='workrate',
272             name='work_type',
273             field=models.ForeignKey(on_delete=django.db.models.deletion.CASCADE, to='catalogue.WorkType', verbose_name='work type'),
274         ),
275         migrations.AlterField(
276             model_name='worktype',
277             name='name',
278             field=models.CharField(max_length=255, verbose_name='name'),
279         ),
280     ]