Layout fixes, cover update for files.
[wolnelektury.git] / src / sponsors / migrations / 0001_initial.py
index becb6fa..4f5e468 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 models, migrations
 from django.db import models, migrations
-import jsonfield.fields
 
 
 class Migration(migrations.Migration):
 
 
 class Migration(migrations.Migration):
@@ -29,7 +28,7 @@ class Migration(migrations.Migration):
             fields=[
                 ('id', models.AutoField(verbose_name='ID', serialize=False, auto_created=True, primary_key=True)),
                 ('name', models.CharField(max_length=120, verbose_name='name')),
             fields=[
                 ('id', models.AutoField(verbose_name='ID', serialize=False, auto_created=True, primary_key=True)),
                 ('name', models.CharField(max_length=120, verbose_name='name')),
-                ('sponsors', jsonfield.fields.JSONField(default={}, verbose_name='sponsors')),
+                ('sponsors', models.TextField(default='{}', verbose_name='sponsors')),
                 ('_html', models.TextField(editable=False, blank=True)),
                 ('sprite', models.ImageField(upload_to='sponsorzy/sprite', blank=True)),
             ],
                 ('_html', models.TextField(editable=False, blank=True)),
                 ('sprite', models.ImageField(upload_to='sponsorzy/sprite', blank=True)),
             ],