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 viaComponent.media_class
.
Full Changelog: 0.81...0.82