pypi django-components 0.82

latest releases: 0.110, 0.102, 0.101...
5 months ago

What's Changed

Feat

  • Template/JS/CSS file can be specified as str, bytes, FileLike, SafeString, or a function that returns any of the other types.
  • Support for Django's "paths as objects" feature - when template/JS/CSS filepath is a "safe string" object (defines __html__ method), then we do NOT try to resolve the filename.
  • Override how JS/CSS paths are rendered into <script>/<link> tags by allowing you to provide your own subclass of Django's Media class via Component.media_class.

Full Changelog: 0.81...0.82

Don't miss a new django-components release

NewReleases is sending notifications on new releases.