MCPcopy
hub / github.com/django/django / as_textarea

Method as_textarea

django/forms/boundfield.py:122–124  ·  view source on GitHub ↗

Return a string of HTML for representing this as a <textarea>.

(self, attrs=None, **kwargs)

Source from the content-addressed store, hash-verified

120 return self.as_widget(TextInput(), attrs, **kwargs)
121
122 def as_textarea(self, attrs=None, **kwargs):
123 """Return a string of HTML for representing this as a <textarea>."""
124 return self.as_widget(Textarea(), attrs, **kwargs)
125
126 def as_hidden(self, attrs=None, **kwargs):
127 """

Callers 1

test_widget_outputMethod · 0.80

Calls 2

as_widgetMethod · 0.95
TextareaClass · 0.90

Tested by 1

test_widget_outputMethod · 0.64