X-Git-Url: https://git.mdrn.pl/wolnelektury.git/blobdiff_plain/32d67bcd63571d61f090b613aba48ec4c710ae1a..3050ec49d5392fe0120fad4ef02ada55d8b7d04e:/apps/catalogue/models/book.py diff --git a/apps/catalogue/models/book.py b/apps/catalogue/models/book.py index d69cf2aca..02051fb29 100644 --- a/apps/catalogue/models/book.py +++ b/apps/catalogue/models/book.py @@ -36,7 +36,7 @@ class Book(models.Model): created_at = models.DateTimeField(_('creation date'), auto_now_add=True, db_index=True) changed_at = models.DateTimeField(_('creation date'), auto_now=True, db_index=True) parent_number = models.IntegerField(_('parent number'), default=0) - extra_info = jsonfield.JSONField(_('extra information'), default='{}') + extra_info = jsonfield.JSONField(_('extra information'), default={}) gazeta_link = models.CharField(blank=True, max_length=240) wiki_link = models.CharField(blank=True, max_length=240) # files generated during publication