1
0
mirror of https://github.com/django/django.git synced 2024-12-22 17:16:24 +00:00

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

Thanks rgs258 for the report.
This commit is contained in:
Mariusz Felisiak 2020-12-15 21:12:26 +01:00 committed by GitHub
parent 0ed6f3ba4b
commit 0ecc70b15a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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