Tags: codingjoe/django-stdimage
Tags
Bump black from 22.1.0 to 22.3.0 Bumps [black](https://github.com/psf/black) from 22.1.0 to 22.3.0. - [Release notes](https://github.com/psf/black/releases) - [Changelog](https://github.com/psf/black/blob/main/CHANGES.md) - [Commits](psf/black@22.1.0...22.3.0) --- updated-dependencies: - dependency-name: black dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] <[email protected]>
Set file stream curstor to zero position after running validators (#218) The `BaseSizeValidator` read the file stream to create an in memory Pillow Image object. In reading the file, the file streams cursor was set to the end. Therefore, the validator left the file in a different state than receiving it. This patch sets the cursor back to zero after reading the file.
PreviousNext