missing file
[wolnelektury.git] / src / picture / migrations / 0007_auto_20160125_1709.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 os.path import join
5 import sorl.thumbnail.fields
6 from django.conf import settings
7 from django.db import migrations, models
8 import django.core.files.storage
9
10
11 class Migration(migrations.Migration):
12
13     dependencies = [
14         ('picture', '0006_auto_20151221_1225'),
15     ]
16
17     operations = [
18         migrations.AlterField(
19             model_name='picture',
20             name='html_file',
21             field=models.FileField(upload_to='html', storage=django.core.files.storage.FileSystemStorage(base_url='/media/pictures/', location=join(settings.MEDIA_ROOT, 'pictures')), verbose_name='html file'),
22         ),
23         migrations.AlterField(
24             model_name='picture',
25             name='image_file',
26             field=sorl.thumbnail.fields.ImageField(upload_to='images', storage=django.core.files.storage.FileSystemStorage(base_url='/media/pictures/', location=join(settings.MEDIA_ROOT, 'pictures')), verbose_name='image file'),
27         ),
28         migrations.AlterField(
29             model_name='picture',
30             name='xml_file',
31             field=models.FileField(upload_to='xml', storage=django.core.files.storage.FileSystemStorage(base_url='/media/pictures/', location=join(settings.MEDIA_ROOT, 'pictures')), verbose_name='xml file'),
32         ),
33     ]