1b0960e9f088e05b13dbb364660b65ef39bc6b12
[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('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 API', blank=True),
20         ),
21     ]