I wonder what is the best practices in saving images into ImageField in Django?
class Image(models.Model):
image = ...
def save(self, *args, **kwargs):
... # resizing and saving the image
super().save(*args, **kwargs)
I want to save images but not in original size. I want to save only the resized image. As far as I know the super save method here additionally saves the original image to database. But I want it to save only resized to prevent data overflow. How to do that?