You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When trying to delete all created images with the use of delete_all_created_images method I get the AssertionError.
I find out that the sized images are created with extension jpg when the base image is without extension. It causes an error during deletion as the algorithm is looking for a file with the same extension as the base one.
Steps to reproduce:
Save in VersatileImageField file without extension in the name.
Create some thumbnails.
Try to remove all created images with the use of delete_all_created_images.
You will get the AssertionError.
The text was updated successfully, but these errors were encountered:
When trying to delete all created images with the use of
delete_all_created_images
method I get theAssertionError
.I find out that the sized images are created with extension
jpg
when the base image is without extension. It causes an error during deletion as the algorithm is looking for a file with the same extension as the base one.Steps to reproduce:
VersatileImageField
file without extension in the name.delete_all_created_images
.AssertionError
.The text was updated successfully, but these errors were encountered: