Browse Source

Fixed typo in docs/ref/forms/widgets.txt.

Thanks rgs258 for the report.
Mariusz Felisiak 4 năm trước cách đây
mục cha
commit
0ecc70b15a
1 tập tin đã thay đổi với 1 bổ sung1 xóa
  1. 1 1
      docs/ref/forms/widgets.txt

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

@@ -369,7 +369,7 @@ foundation for custom widgets.
         for one widget. For example::
 
             >>> widget = MultiWidget(widgets={'': TextInput, 'last': TextInput})
-            >>> widget.render('name', ['john', 'lennon'])
+            >>> widget.render('name', ['john', 'paul'])
             '<input type="text" name="name" value="john"><input type="text" name="name_last" value="paul">'
 
         .. versionchanged::3.1