mirror of
https://github.com/django/django.git
synced 2025-10-24 06:06:09 +00:00
Fixed #27256 -- Changed Select widget's selected attribute to use HTML5 boolean syntax.
This commit is contained in:
@@ -1134,7 +1134,7 @@ class ModelFormsetTest(TestCase):
|
||||
formset.forms[0].as_p(),
|
||||
'<p><label for="id_form-0-owner">Owner:</label>'
|
||||
'<select name="form-0-owner" id="id_form-0-owner">'
|
||||
'<option value="" selected="selected">---------</option>'
|
||||
'<option value="" selected>---------</option>'
|
||||
'<option value="%d">Joe Perry at Giordanos</option>'
|
||||
'<option value="%d">Jack Berry at Giordanos</option>'
|
||||
'</select></p>'
|
||||
|
||||
Reference in New Issue
Block a user