MCPcopy
hub / github.com/django/django / Stylesheet

Class Stylesheet

django/forms/widgets.py:127–131  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

125
126
127class Stylesheet(MediaAsset):
128 element_template = '<link href="{path}"{attributes}>'
129
130 def __init__(self, href, **attributes):
131 super().__init__(path=href, rel="stylesheet", **attributes)
132
133
134@html_safe

Callers 12

test_eqMethod · 0.90
test_strMethod · 0.90
test_constructionMethod · 0.90
MediaClass · 0.90
MediaClass · 0.90
render_cssMethod · 0.70

Calls

no outgoing calls

Tested by 9

test_eqMethod · 0.72
test_strMethod · 0.72
test_constructionMethod · 0.72