mirror of
https://github.com/django/django.git
synced 2025-10-23 21:59:11 +00:00
Fixed #33656 -- Fixed MultiWidget crash when compressed value is a tuple.
This commit is contained in:
@@ -130,6 +130,15 @@ class MultiWidgetTest(WidgetTest):
|
||||
'<input type="text" class="small" value="lennon" name="name_1">'
|
||||
),
|
||||
)
|
||||
self.check_html(
|
||||
widget,
|
||||
"name",
|
||||
("john", "lennon"),
|
||||
html=(
|
||||
'<input type="text" class="big" value="john" name="name_0">'
|
||||
'<input type="text" class="small" value="lennon" name="name_1">'
|
||||
),
|
||||
)
|
||||
self.check_html(
|
||||
widget,
|
||||
"name",
|
||||
|
||||
Reference in New Issue
Block a user