diff --git a/docs/ref/forms/api.txt b/docs/ref/forms/api.txt index 15fc52f9b9..2315757eb7 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())