MCPcopy
hub / github.com/django/django / __html__

Method __html__

django/utils/safestring.py:16–22  ·  view source on GitHub ↗

Return the html representation of a string for interoperability. This allows other template engines to understand Django's SafeData.

(self)

Source from the content-addressed store, hash-verified

14 __slots__ = ()
15
16 def __html__(self):
17 """
18 Return the html representation of a string for interoperability.
19
20 This allows other template engines to understand Django's SafeData.
21 """
22 return self
23
24
25class SafeString(str, SafeData):

Callers 3

conditional_escapeFunction · 0.45
render_jsMethod · 0.45
render_cssMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected