Add BaseForm._html_output (#364)

This commit is contained in:
Anthony Ricaud
2020-04-30 12:36:55 +01:00
committed by GitHub
parent 92c8dfc93f
commit bf604a0398

View File

@@ -69,6 +69,9 @@ class BaseForm:
def hidden_fields(self): ...
def visible_fields(self): ...
def get_initial_for_field(self, field: Field, field_name: str) -> Any: ...
def _html_output(
self, normal_row: str, error_row: str, row_ender: str, help_text_html: str, errors_on_separate_row: bool,
) -> SafeText: ...
class Form(BaseForm):
base_fields: Dict[str, Field]