45db58d13ff09066d4fbd174b870ae9c645b3967
[wolnelektury.git] / src / catalogue / migrations / 0020_book_cover_api_thumb.py
1 # -*- coding: utf-8 -*-
2 from __future__ import unicode_literals
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', '0019_auto_20171221_1107'),
13     ]
14
15     operations = [
16         migrations.AddField(
17             model_name='book',
18             name='cover_api_thumb',
19             field=catalogue.fields.EbookField(b'cover_api_thumb', max_length=255, upload_to=catalogue.models.book.UploadToPath(b'book/cover_api_thumb/%s.jpg'), null=True, verbose_name='cover thumbnail for API', blank=True),
20         ),
21     ]