minor migration
authorJan Szejko <j-sz@o2.pl>
Mon, 25 Jan 2016 16:16:19 +0000 (17:16 +0100)
committerJan Szejko <j-sz@o2.pl>
Mon, 25 Jan 2016 16:16:19 +0000 (17:16 +0100)
src/picture/migrations/0007_auto_20160125_1709.py [new file with mode: 0644]

diff --git a/src/picture/migrations/0007_auto_20160125_1709.py b/src/picture/migrations/0007_auto_20160125_1709.py
new file mode 100644 (file)
index 0000000..39e107b
--- /dev/null
@@ -0,0 +1,34 @@
+# -*- coding: utf-8 -*-
+from __future__ import unicode_literals
+
+from os.path import join
+import sorl.thumbnail.fields
+from django.conf import settings
+from django.db import migrations, models
+from django.utils.encoding import force_bytes
+import django.core.files.storage
+
+
+class Migration(migrations.Migration):
+
+    dependencies = [
+        ('picture', '0006_auto_20151221_1225'),
+    ]
+
+    operations = [
+        migrations.AlterField(
+            model_name='picture',
+            name='html_file',
+            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'),
+        ),
+        migrations.AlterField(
+            model_name='picture',
+            name='image_file',
+            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'),
+        ),
+        migrations.AlterField(
+            model_name='picture',
+            name='xml_file',
+            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'),
+        ),
+    ]