Meta errors in alerts.
[redakcja.git] / src / catalogue / migrations / 0013_auto_20200415_1755.py
1 # Generated by Django 3.0.4 on 2020-04-15 17:55
2
3 from django.db import migrations, models
4
5
6 class Migration(migrations.Migration):
7
8     dependencies = [
9         ('catalogue', '0012_collection'),
10     ]
11
12     operations = [
13         migrations.AlterModelOptions(
14             name='author',
15             options={'ordering': ('last_name', 'first_name', 'year_of_death')},
16         ),
17         migrations.AlterModelOptions(
18             name='book',
19             options={'ordering': ('title',)},
20         ),
21         migrations.RemoveField(
22             model_name='collection',
23             name='authors',
24         ),
25         migrations.RemoveField(
26             model_name='collection',
27             name='books',
28         ),
29         migrations.AddField(
30             model_name='author',
31             name='collections',
32             field=models.ManyToManyField(blank=True, to='catalogue.Collection'),
33         ),
34         migrations.AddField(
35             model_name='book',
36             name='collections',
37             field=models.ManyToManyField(blank=True, to='catalogue.Collection'),
38         ),
39     ]