X-Git-Url: https://git.mdrn.pl/wolnelektury.git/blobdiff_plain/c0a7799619e217e2eac724b1a688ad37f0182253..e8241a8162602206d754266983926890654fa5fa:/src/isbn/models.py diff --git a/src/isbn/models.py b/src/isbn/models.py index d65ca606c..b5e5de3a2 100644 --- a/src/isbn/models.py +++ b/src/isbn/models.py @@ -3,7 +3,6 @@ # from django.db import models from django.db.models import F -from jsonfield import JSONField class ISBNPool(models.Model): @@ -59,7 +58,7 @@ class ONIXRecord(models.Model): product_form_detail = models.CharField(max_length=8, blank=True) title = models.CharField(max_length=256) part_number = models.CharField(max_length=64, blank=True) - contributors = JSONField() # roles, names, optional: ISNI, date of birth/death + contributors = models.TextField() # roles, names, optional: ISNI, date of birth/death edition_type = models.CharField(max_length=4) edition_number = models.IntegerField(default=1) language = models.CharField(max_length=4)