More Py3 compatibility fixes.
[wolnelektury.git] / src / catalogue / migrations / 0021_auto_20171222_1404.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', '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(b'simple_cover', max_length=255, upload_to=catalogue.models.book.UploadToPath(b'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(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 mobile app', blank=True),
25         ),
26     ]