Skip to content

Commit

Permalink
[5.0.x] Fixed #20744 -- Removed hint that arbitrary kwargs are allowe…
Browse files Browse the repository at this point in the history
…d when creating forms.Fields.

Backport of 828b94b from main
  • Loading branch information
adamzap authored and nessita committed Apr 26, 2024
1 parent 8468ea2 commit f29922b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/ref/forms/fields.txt
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit f29922b

Please sign in to comment.