瀏覽代碼

Fixed typo in ref/forms/widgets.txt.

Mariusz Felisiak 5 年之前
父節點
當前提交
ef1286e3e3
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1 1
      docs/ref/forms/widgets.txt

+ 1 - 1
docs/ref/forms/widgets.txt

@@ -326,7 +326,7 @@ foundation for custom widgets.
 
         By default, returns ``False`` for hidden widgets and ``True``
         otherwise. Special cases are :class:`~django.forms.ClearableFileInput`,
-        which returns ``False`` when ``initial`` is not set, and
+        which returns ``False`` when ``initial`` is set, and
         :class:`~django.forms.CheckboxSelectMultiple`, which always returns
         ``False`` because browser validation would require all checkboxes to be
         checked instead of at least one.