summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAdam Zapletal <adamzap@gmail.com>2024-04-26 09:23:38 -0500
committerNatalia <124304+nessita@users.noreply.github.com>2024-04-26 14:38:41 -0300
commitf29922b6ef10e913a12d569eec0a87d3ae208235 (patch)
treeaf912d616fa6ff943bef4ad430161ab16114afb1
parent8468ea237df2303fd43a37a71d3f5637550a16c7 (diff)
[5.0.x] Fixed #20744 -- Removed hint that arbitrary kwargs are allowed when creating forms.Fields.
Backport of 828b94b178736f7882cc6e5cd86b5c8e84b62ece from main
-rw-r--r--docs/ref/forms/fields.txt2
1 files changed, 1 insertions, 1 deletions
diff --git a/docs/ref/forms/fields.txt b/docs/ref/forms/fields.txt
index 9ccd69823a..70c59008f7 100644
--- a/docs/ref/forms/fields.txt
+++ b/docs/ref/forms/fields.txt
@@ -7,7 +7,7 @@ Form fields
.. currentmodule:: django.forms
-.. class:: Field(**kwargs)
+.. class:: Field
When you create a ``Form`` class, the most important part is defining the
fields of the form. Each field has custom validation logic, along with a few