#37085: Move object-based stylesheet media assets to the public API
-------------------------------------+-------------------------------------
Reporter: Natalia | Owner: Natalia Bidart
Bidart |
Type: New | Status: assigned
feature |
Component: Forms | Version: dev
Severity: Normal | Keywords: Media MediaAsset
Triage Stage: | Has patch: 0
Unreviewed |
Needs documentation: 0 | Needs tests: 0
Patch needs improvement: 0 | Easy pickings: 0
UI/UX: 0 |
-------------------------------------+-------------------------------------
This ticket is a successor to #35886 and aims to move object-based
stylesheet assets to the public API and documentation.
A `CSS` sample implementation has been part of the test suite for a while,
see
[https://github.com/django/django/blob/989329344aabe8ef7a5e55bebfde53f0e00f42e2/tests/forms_tests/tests/test_media.py#L8-L13
source code].
The goal is to provide parity with the `Script` class added in
989329344aabe8ef7a5e55bebfde53f0e00f42e2 and facilitate the work for
adding support for nonces in forms.Media (#36784).
See also: https://developer.mozilla.org/en-US/docs/Web/HTML/Element/link
--
Ticket URL: <https://code.djangoproject.com/ticket/37085>
Django <https://code.djangoproject.com/>
The Web framework for perfectionists with deadlines.
--
You received this message because you are subscribed to the Google Groups
"Django updates" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To view this discussion visit
https://groups.google.com/d/msgid/django-updates/0107019dfac46ee1-4654beac-4d35-482e-b954-6f4bdcf46bd1-000000%40eu-central-1.amazonses.com.