Fix
[wolnelektury.git] / src / funding / migrations / 0004_auto_20190729_1450.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 django.db.models.deletion
6
7
8 class Migration(migrations.Migration):
9
10     dependencies = [
11         ('funding', '0003_auto_20180416_1336'),
12     ]
13
14     operations = [
15         migrations.AlterField(
16             model_name='funding',
17             name='offer',
18             field=models.ForeignKey(on_delete=django.db.models.deletion.PROTECT, to='funding.Offer', verbose_name='offer'),
19         ),
20         migrations.AlterField(
21             model_name='offer',
22             name='book',
23             field=models.ForeignKey(blank=True, help_text='Published book.', null=True, on_delete=django.db.models.deletion.PROTECT, to='catalogue.Book'),
24         ),
25         migrations.AlterField(
26             model_name='spent',
27             name='book',
28             field=models.ForeignKey(on_delete=django.db.models.deletion.PROTECT, to='catalogue.Book'),
29         ),
30     ]