Browse Source

[5.0.x] Fixed #20744 -- Removed hint that arbitrary kwargs are allowed when creating forms.Fields.

Backport of 828b94b178736f7882cc6e5cd86b5c8e84b62ece from main
Adam Zapletal 11 months ago
parent
commit
f29922b6ef
1 changed files with 1 additions and 1 deletions
  1. 1 1
      docs/ref/forms/fields.txt

+ 1 - 1
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