Fixed typo in docs/ref/forms/widgets.txt.
Thanks rgs258 for the report.
This commit is contained in:
parent
0ed6f3ba4b
commit
0ecc70b15a
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue