-# -*- 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
-import jsonfield.fields
class Migration(migrations.Migration):
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='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')]),
),
]