mirror of
https://github.com/django/django.git
synced 2025-11-25 05:04:26 +00:00
Fixed #27256 -- Changed Select widget's selected attribute to use HTML5 boolean syntax.
This commit is contained in:
parent
42dc9d0400
commit
2c716c1dc7
18 changed files with 126 additions and 125 deletions
|
|
@ -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>'
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue