Django-lazy-srcset

Latest version: v1.0.4

Safety actively analyzes 685525 Python packages for vulnerabilities to keep your Python projects secure.

Scan your dependencies

Page 1 of 2

1.0.4

Bugfix for getting dimensions from an svg when they are a float.

1.0.3

Python 3.12 support.

1.0.2

imagekit_cleanup.py bug fixes

1.0.1

Error handling; no-op behaviour for when images are being generated in another thread.

1.0.0

Beta release.

- LAZY_SRCSET_ENABLED setting added. By default it is the opposite of DEBUG.
- default_size can be set using a kwarg if needed.
- format_html() replaces previous stringification.
- LAZY_SRCSET_THRESHOLD setting added. This can be used to prevent images of a similar width from being created.
- Sizes can now be either an integer or a string with vw or px units.
- When a size is defined with px it ignores the threshold and will always be made.

0.2.2

Bug fix release. Sizes attr order is now reversed.

Page 1 of 2

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.