- extra_info = jsonfield.JSONField(_('extra information'), default={}, editable=False)
- book = models.ForeignKey('Book', related_name='media')
+ project_description = models.CharField(max_length=2048, blank=True)
+ project_icon = models.CharField(max_length=2048, blank=True)
+ extra_info = models.TextField(_('extra information'), default='{}', editable=False)
+ book = models.ForeignKey('Book', models.CASCADE, related_name='media')