From 8f3dee1dfdc4242348c6cd6ead1c359cda78c2b5 Mon Sep 17 00:00:00 2001 From: antoliny0919 Date: Wed, 30 Oct 2024 07:17:55 +0900 Subject: [PATCH] Fixed #35873 -- Corrected Form.as_table() call in form docs. --- docs/ref/forms/api.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/ref/forms/api.txt b/docs/ref/forms/api.txt index 8abe273a59..a43ffff11d 100644 --- a/docs/ref/forms/api.txt +++ b/docs/ref/forms/api.txt @@ -770,7 +770,7 @@ The template used by ``as_table()``. Default: ``'django/forms/table.html'``. >>> f = ContactForm() >>> f.as_table() '\n\n\n' - >>> print(f) + >>> print(f.as_table())