| Index | index by Group | index by Distribution | index by Vendor | index by creation date | index by Name | Mirrors | Help | Search |
| Name: python314-django-js-asset | Distribution: openSUSE Tumbleweed |
| Version: 4.0.2 | Vendor: openSUSE |
| Release: 1.1 | Build date: Fri Aug 21 22:53:01 2026 |
| Group: Unspecified | Build host: reproducible |
| Size: 76107 | Source RPM: python-django-js-asset-4.0.2-1.1.src.rpm |
| Packager: https://bugs.opensuse.org | |
| Url: https://github.com/feincms/django-js-asset/ | |
| Summary: Script tag with additional attributes for django.formsMedia | |
Insert a script tag via forms.Media containing additional attributes (such as id and data-* for CSP-compatible data injection.)
BSD-3-Clause
* Fri Aug 21 2026 Dirk Müller <dmueller@suse.com>
- update to 4.0.2:
* Fixed js_asset.Media treating html-safe strings -- e.g.
mark_safe('<script defer src="..."></script>'), a
long-documented Django idiom for embedding a complete asset tag
- - as asset paths, so they were run through static() and
percent-encoded instead of being rendered verbatim. Anything
providing __html__() now takes the verbatim path, matching
django.forms.Media (see Django's ticket #37262).
* js_asset.Media additionally renders html-safe strings
correctly on Django 6.1, whose own forms.Media mangles them
(fixed in Django for 6.1.1). Only media built through
js_asset.Media benefits; assets adopted from a plain
forms.Media -- including widget Media declarations, which
Django always builds with forms.Media -- are already normalized
before we see them.
* Sat Jun 20 2026 Dirk Müller <dmueller@suse.com>
- update to 4.0.1:
* Added js_asset.Media, a django.forms.Media subclass with two
extra abilities.
* JS and CSS now produce Django's own Script and Stylesheet
objects (backported via js_asset._compat on Django versions
that lack them) instead of being standalone dataclasses
* Script, Stylesheet, MediaAsset and InlineStyle can now be
imported from js_asset
* Equality now follows Django's own contract: identity is
attribute-aware on Django 4.2–5.1 and 6.2+,
* Added a static_lazy helper (a lazy wrapper around static()
* Removed the global importmap object
* Fri Apr 03 2026 Dirk Müller <dmueller@suse.com>
- update to 3.1.2:
* Made the ``id`` argument to ``JSON`` keyword-only. Also made
the ``inline`` argument to ``CSS`` keyword-only.
* Added the ``media`` attribute to ``CSS`` classes.
* Added experimental support for shipping importmaps.
* Rewrite the internals using dataclasses, drop compatibility
with Django < 4.2 and Python < 3.10.
* Added a ``CSS`` and ``JSON`` class which can also be used with
``forms.Media``. It's recommended to pass them as JavaScript entries to
``forms.Media(js=[])`` because the ``js`` list doesn't use a media
dictionary.
* Added Django 5.1, Python 3.1
* Thu Mar 28 2024 Max Lin <mlin@suse.com>
- Add %{?sle15_python_module_pythons}
* Mon Dec 18 2023 Steve Kowalik <steven.kowalik@suse.com>
- Update to 2.2:
* Added Django 5.0, Python 3.12.
* Fixed building with hatchling 1.19.
- Stop using globs in %files, specify the path directly
* Wed Nov 29 2023 Dirk Müller <dmueller@suse.com>
- update to 2.1:
* Added Django 4.1, 4.2 and Python 3.11 to the CI.
* Removed the pytz dependency from the tests.
* Dropped Python < 3.8, Django < 3.2 from the CI.
* Switched to hatchling and ruff.
* Sat Sep 03 2022 John Vandenberg <jayvdb@gmail.com>
- Remove unneeded changes-in-Django.patch
- Update to v2.0
* Raised the minimum supported versions of Python to 3.6, Django to 2.2.
* Replaced the explicit configuration of whether static() should be used
or not with automatic configuration. The static argument is still
accepted but ignored and will be removed at a later time.
* Added support for boolean attributes when using Django 4.1 or better.
* Fri Jan 07 2022 John Vandenberg <jayvdb@gmail.com>
- Skip Tumbleweed Python 3.6 incompatible with Django 4
* Fri Sep 11 2020 Marketa Calabkova <mcalabkova@suse.com>
- Add upstream patch changes-in-Django.patch to fix tests
* Fri May 24 2019 Tomáš Chvátal <tchvatal@suse.com>
- Switch to github tarball for tests
- Execute tests
/usr/lib/python3.14/site-packages/django_js_asset-4.0.2.dist-info /usr/lib/python3.14/site-packages/django_js_asset-4.0.2.dist-info/INSTALLER /usr/lib/python3.14/site-packages/django_js_asset-4.0.2.dist-info/METADATA /usr/lib/python3.14/site-packages/django_js_asset-4.0.2.dist-info/RECORD /usr/lib/python3.14/site-packages/django_js_asset-4.0.2.dist-info/REQUESTED /usr/lib/python3.14/site-packages/django_js_asset-4.0.2.dist-info/WHEEL /usr/lib/python3.14/site-packages/django_js_asset-4.0.2.dist-info/licenses /usr/lib/python3.14/site-packages/django_js_asset-4.0.2.dist-info/licenses/LICENSE /usr/lib/python3.14/site-packages/js_asset /usr/lib/python3.14/site-packages/js_asset/__init__.py /usr/lib/python3.14/site-packages/js_asset/__pycache__ /usr/lib/python3.14/site-packages/js_asset/__pycache__/__init__.cpython-314.opt-1.pyc /usr/lib/python3.14/site-packages/js_asset/__pycache__/__init__.cpython-314.pyc /usr/lib/python3.14/site-packages/js_asset/__pycache__/_compat.cpython-314.opt-1.pyc /usr/lib/python3.14/site-packages/js_asset/__pycache__/_compat.cpython-314.pyc /usr/lib/python3.14/site-packages/js_asset/__pycache__/js.cpython-314.opt-1.pyc /usr/lib/python3.14/site-packages/js_asset/__pycache__/js.cpython-314.pyc /usr/lib/python3.14/site-packages/js_asset/__pycache__/media.cpython-314.opt-1.pyc /usr/lib/python3.14/site-packages/js_asset/__pycache__/media.cpython-314.pyc /usr/lib/python3.14/site-packages/js_asset/_compat.py /usr/lib/python3.14/site-packages/js_asset/js.py /usr/lib/python3.14/site-packages/js_asset/media.py /usr/share/doc/packages/python314-django-js-asset /usr/share/doc/packages/python314-django-js-asset/README.rst /usr/share/licenses/python314-django-js-asset /usr/share/licenses/python314-django-js-asset/LICENSE
Generated by rpm2html 1.8.1
Fabrice Bellet, Mon Aug 24 22:41:45 2026