From f29922b6ef10e913a12d569eec0a87d3ae208235 Mon Sep 17 00:00:00 2001 From: Adam Zapletal Date: Fri, 26 Apr 2024 09:23:38 -0500 Subject: [PATCH] [5.0.x] Fixed #20744 -- Removed hint that arbitrary kwargs are allowed when creating forms.Fields. Backport of 828b94b178736f7882cc6e5cd86b5c8e84b62ece from main --- docs/ref/forms/fields.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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