MCPcopy
hub / github.com/django/django / as_p

Method as_p

django/forms/utils.py:85–87  ·  view source on GitHub ↗

Render as <p> elements.

(self)

Source from the content-addressed store, hash-verified

83
84class RenderableFormMixin(RenderableMixin):
85 def as_p(self):
86 """Render as <p> elements."""
87 return self.render(self.template_name_p)
88
89 def as_table(self):
90 """Render as <tr> elements excluding the surrounding <table> tag."""

Callers 15

test_initial_dataMethod · 0.80
test_initial_dataMethod · 0.80
test_outputMethod · 0.80
test_optionsMethod · 0.80
test_override_attrsMethod · 0.80
assertMapWidgetMethod · 0.80
test_pointfieldMethod · 0.80
test_multipointfieldMethod · 0.80
test_linestringfieldMethod · 0.80
test_polygonfieldMethod · 0.80

Calls 1

renderMethod · 0.45

Tested by 15

test_initial_dataMethod · 0.64
test_initial_dataMethod · 0.64
test_outputMethod · 0.64
test_optionsMethod · 0.64
test_override_attrsMethod · 0.64
assertMapWidgetMethod · 0.64
test_pointfieldMethod · 0.64
test_multipointfieldMethod · 0.64
test_linestringfieldMethod · 0.64
test_polygonfieldMethod · 0.64