Browse Source

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

Adam Zapletal 11 tháng trước cách đây
mục cha
commit
828b94b178
1 tập tin đã thay đổi với 1 bổ sung1 xóa
  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