Add grammar to tags. Also: respect custom tag slugs on publishing.
[wolnelektury.git] / src / lesmianator / migrations / 0001_initial.py
index f8741e4..d490d6e 100644 (file)
@@ -1,6 +1,8 @@
+# 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
 import django.db.models.deletion
-import jsonfield.fields
 from django.conf import settings
 
 
@@ -30,7 +32,7 @@ class Migration(migrations.Migration):
                 ('id', models.AutoField(verbose_name='ID', serialize=False, auto_created=True, primary_key=True)),
                 ('slug', models.SlugField(max_length=120, verbose_name='Slug')),
                 ('text', models.TextField(verbose_name='text')),
-                ('created_from', jsonfield.fields.JSONField(null=True, verbose_name='Additional information', blank=True)),
+                ('created_from', models.TextField(null=True, verbose_name='Additional information', blank=True)),
                 ('created_at', models.DateTimeField(auto_now_add=True, verbose_name='creation date')),
                 ('seen_at', models.DateTimeField(auto_now_add=True, verbose_name='last view date')),
                 ('view_count', models.IntegerField(default=1, verbose_name='view count')),