From bf604a039870ed816e9a89e3c8aad826dccbe3ad Mon Sep 17 00:00:00 2001 From: Anthony Ricaud Date: Thu, 30 Apr 2020 12:36:55 +0100 Subject: [PATCH] Add BaseForm._html_output (#364) --- django-stubs/forms/forms.pyi | 3 +++ 1 file changed, 3 insertions(+) diff --git a/django-stubs/forms/forms.pyi b/django-stubs/forms/forms.pyi index 4a1c71f..64eecf9 100644 --- a/django-stubs/forms/forms.pyi +++ b/django-stubs/forms/forms.pyi @@ -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]