X-Git-Url: https://git.mdrn.pl/wolnelektury.git/blobdiff_plain/357027375ff8867f42ca34bcbfb5a78b5b185fc3..f1143b5bcf508dcfe7f72e90faee72cf72a2392a:/src/picture/migrations/0006_auto_20151221_1225.py?ds=sidebyside diff --git a/src/picture/migrations/0006_auto_20151221_1225.py b/src/picture/migrations/0006_auto_20151221_1225.py index 2f03ce591..ccead197f 100644 --- a/src/picture/migrations/0006_auto_20151221_1225.py +++ b/src/picture/migrations/0006_auto_20151221_1225.py @@ -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 -import jsonfield.fields class Migration(migrations.Migration): @@ -15,7 +14,7 @@ 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', @@ -35,6 +34,6 @@ class Migration(migrations.Migration): 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')]), ), ]