Support civicrm newsletters.
[wolnelektury.git] / src / catalogue / migrations / 0021_auto_20171222_1404.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
7
8 class Migration(migrations.Migration):
9
10     dependencies = [
11         ('catalogue', '0020_book_cover_api_thumb'),
12     ]
13
14     operations = [
15         migrations.AddField(
16             model_name='book',
17             name='simple_cover',
18             field=models.FileField(max_length=255, upload_to=catalogue.fields.UploadToPath('book/cover_simple/%s.jpg'), null=True, verbose_name='cover for mobile app', blank=True),
19         ),
20         migrations.AlterField(
21             model_name='book',
22             name='cover_api_thumb',
23             field=models.FileField(max_length=255, upload_to=catalogue.fields.UploadToPath('book/cover_api_thumb/%s.jpg'), null=True, verbose_name='cover thumbnail for mobile app', blank=True),
24         ),
25     ]