mirror of
https://github.com/django/django.git
synced 2024-12-25 02:26:12 +00:00
[5.0.x] Fixed #20744 -- Removed hint that arbitrary kwargs are allowed when creating forms.Fields.
Backport of 828b94b178
from main
This commit is contained in:
parent
8468ea237d
commit
f29922b6ef
@ -7,7 +7,7 @@ Form fields
|
|||||||
|
|
||||||
.. currentmodule:: django.forms
|
.. currentmodule:: django.forms
|
||||||
|
|
||||||
.. class:: Field(**kwargs)
|
.. class:: Field
|
||||||
|
|
||||||
When you create a ``Form`` class, the most important part is defining the
|
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
|
fields of the form. Each field has custom validation logic, along with a few
|
||||||
|
Loading…
Reference in New Issue
Block a user