Better management of manually-set members.
[wolnelektury.git] / src / picture / migrations / 0006_auto_20151221_1225.py
index 9f1a82c..ccead19 100644 (file)
@@ -1,8 +1,7 @@
-# -*- coding: utf-8 -*-
-from __future__ import unicode_literals
-
+# This file is part of Wolnelektury, licensed under GNU Affero GPLv3 or later.
+# Copyright © Fundacja Nowoczesna Polska. 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',