X-Git-Url: https://git.mdrn.pl/wolnelektury.git/blobdiff_plain/c0a7799619e217e2eac724b1a688ad37f0182253..2ecf0995e67a4fefb003e66a2490d4895b2c0b07:/src/contact/migrations/0001_initial.py?ds=sidebyside diff --git a/src/contact/migrations/0001_initial.py b/src/contact/migrations/0001_initial.py index 216c4c508..08f688fc9 100644 --- a/src/contact/migrations/0001_initial.py +++ b/src/contact/migrations/0001_initial.py @@ -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 migrations, models import django.db.models.deletion -import jsonfield.fields class Migration(migrations.Migration): @@ -25,7 +27,7 @@ class Migration(migrations.Migration): ('ip', models.GenericIPAddressField(verbose_name='IP address')), ('contact', models.EmailField(max_length=128, verbose_name='contact')), ('form_tag', models.CharField(max_length=32, verbose_name='form', db_index=True)), - ('body', jsonfield.fields.JSONField(verbose_name='body')), + ('body', models.TextField(verbose_name='body')), ], options={ 'ordering': ('-created_at',),