matthiask / django-imagefield

You should probably use this image field instead of Django's built-in models.ImageField.
https://django-imagefield.readthedocs.io
BSD 3-Clause "New" or "Revised" License
102 stars 10 forks source link

Does not remove base file. #6

Open jmdiazlr opened 4 years ago

jmdiazlr commented 4 years ago

It removes all generated files but not the base file when we clear the corresponding imagefield in the form and hit save.

matthiask commented 4 years ago

Yes, that's true. Django's file fields generally do not remove the base file; I think it would be unexpected and a possible source of data loss if we started removing base files ourselves.