瀏覽代碼

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

Adam Zapletal 11 月之前
父節點
當前提交
828b94b178
共有 1 個文件被更改,包括 1 次插入1 次删除
  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