raise ValidationError('Invalid cover image format, should be an image file (jpg, png, gif, svg). '
'Change it in Metadata.')
metadata = metadata_from_text(text)
raise ValidationError('Invalid cover image format, should be an image file (jpg, png, gif, svg). '
'Change it in Metadata.')
metadata = metadata_from_text(text)