39e107b54ce6397d0e999ffed49bf1008b5a2638
[wolnelektury.git] / src / picture / migrations / 0007_auto_20160125_1709.py
1 # -*- coding: utf-8 -*-
2 from __future__ import unicode_literals
3
4 from os.path import join
5 import sorl.thumbnail.fields
6 from django.conf import settings
7 from django.db import migrations, models
8 from django.utils.encoding import force_bytes
9 import django.core.files.storage
10
11
12 class Migration(migrations.Migration):
13
14     dependencies = [
15         ('picture', '0006_auto_20151221_1225'),
16     ]
17
18     operations = [
19         migrations.AlterField(
20             model_name='picture',
21             name='html_file',
22             field=models.FileField(upload_to=b'html', storage=django.core.files.storage.FileSystemStorage(base_url=b'/media/pictures/', location=join(force_bytes(settings.MEDIA_ROOT), b'pictures')), verbose_name='html file'),
23         ),
24         migrations.AlterField(
25             model_name='picture',
26             name='image_file',
27             field=sorl.thumbnail.fields.ImageField(upload_to=b'images', storage=django.core.files.storage.FileSystemStorage(base_url=b'/media/pictures/', location=join(force_bytes(settings.MEDIA_ROOT), b'pictures')), verbose_name='image file'),
28         ),
29         migrations.AlterField(
30             model_name='picture',
31             name='xml_file',
32             field=models.FileField(upload_to=b'xml', storage=django.core.files.storage.FileSystemStorage(base_url=b'/media/pictures/', location=join(force_bytes(settings.MEDIA_ROOT), b'pictures')), verbose_name='xml file'),
33         ),
34     ]