Experimental preview of 2022 book detail page.
[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 import catalogue.models.book
7
8
9 class Migration(migrations.Migration):
10
11     dependencies = [
12         ('catalogue', '0020_book_cover_api_thumb'),
13     ]
14
15     operations = [
16         migrations.AddField(
17             model_name='book',
18             name='simple_cover',
19             field=catalogue.fields.EbookField('simple_cover', max_length=255, upload_to=catalogue.models.book.UploadToPath('book/cover_simple/%s.jpg'), null=True, verbose_name='cover for mobile app', blank=True),
20         ),
21         migrations.AlterField(
22             model_name='book',
23             name='cover_api_thumb',
24             field=catalogue.fields.EbookField('cover_api_thumb', max_length=255, upload_to=catalogue.models.book.UploadToPath('book/cover_api_thumb/%s.jpg'), null=True, verbose_name='cover thumbnail for mobile app', blank=True),
25         ),
26     ]