[3.1.x] Fixed typo in docs/ref/forms/widgets.txt.
Thanks rgs258 for the report.
Backport of 0ecc70b15a
from master
This commit is contained in:
parent
3d28beea00
commit
1fb99795e7
|
@ -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