Actually, you need to use any background library ( like
https://github.com/arteria/django-background-tasks/ ) for processing
large-time operations such as image processing.
On Friday, 17 November 2017 15:24:25 UTC+2, Дмитрий Горобец wrote:
>
> I want to save webp image near jpg version.
>
> Now
I want to save webp image near jpg version.
Now I'm doing it this way:
class ProductImage(models.Model):
product = models.ForeignKey(
to=Product,
related_name='images',
on_delete=models.CASCADE,
)
image = models.ImageField(
upload_to=upload_product_imag
2 matches
Mail list logo