- if ext not in ('jpg', 'jpeg', 'png', 'gif', 'tif', 'tiff'):
- raise ValidationError('Invalid cover image format, should be an image file (jpg, png, gif). '
+ if ext not in ('jpg', 'jpeg', 'png', 'gif', 'svg'):
+ raise ValidationError('Invalid cover image format, should be an image file (jpg, png, gif, svg). '