Prechádzať zdrojové kódy

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

Adam Zapletal 11 mesiacov pred
rodič
commit
828b94b178
1 zmenil súbory, kde vykonal 1 pridanie a 1 odobranie
  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