minor fix
[wolnelektury.git] / src / picture / migrations / 0006_auto_20151221_1225.py
index 2f03ce5..1359c56 100644 (file)
@@ -1,8 +1,7 @@
-# -*- coding: utf-8 -*-
-from __future__ import unicode_literals
-
+# This file is part of Wolne Lektury, licensed under GNU Affero GPLv3 or later.
+# Copyright © Fundacja Wolne Lektury. See NOTICE for more information.
+#
 from django.db import migrations, models
 from django.db import migrations, models
-import jsonfield.fields
 
 
 class Migration(migrations.Migration):
 
 
 class Migration(migrations.Migration):
@@ -15,7 +14,7 @@ class Migration(migrations.Migration):
         migrations.AlterField(
             model_name='picture',
             name='extra_info',
         migrations.AlterField(
             model_name='picture',
             name='extra_info',
-            field=jsonfield.fields.JSONField(default={}, verbose_name='extra information'),
+            field=models.TextField(default='{}', verbose_name='extra information'),
         ),
         migrations.AlterField(
             model_name='picture',
         ),
         migrations.AlterField(
             model_name='picture',
@@ -35,6 +34,6 @@ class Migration(migrations.Migration):
         migrations.AlterField(
             model_name='picturearea',
             name='kind',
         migrations.AlterField(
             model_name='picturearea',
             name='kind',
-            field=models.CharField(db_index=True, max_length=10, verbose_name='kind', choices=[(b'thing', 'thing'), (b'theme', 'theme')]),
+            field=models.CharField(db_index=True, max_length=10, verbose_name='kind', choices=[('thing', 'thing'), ('theme', 'theme')]),
         ),
     ]
         ),
     ]