1
0
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:
Adam Zapletal 2024-04-26 09:23:38 -05:00 committed by Natalia
parent 8468ea237d
commit f29922b6ef

View File

@ -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