mirror of
https://github.com/django/django.git
synced 2025-07-16 07:39:12 +00:00
[3.1.x] Fixed typo in docs/ref/forms/widgets.txt.
Thanks rgs258 for the report. Backport of 0ecc70b15aa3831c3945f55c1139ae15900b6104 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…
x
Reference in New Issue
Block a user