mirror of
https://github.com/django/django.git
synced 2025-08-03 10:34:04 +00:00
Fixed #29041 -- Changed SelectMultiple's multiple attribute to HTML5 boolean syntax.
This commit is contained in:
parent
b98dc1706e
commit
47d238b696
10 changed files with 42 additions and 38 deletions
|
@ -664,7 +664,7 @@ that specifies the template used to render each choice. For example, for the
|
|||
* ``option_template_name``: ``'django/forms/widgets/select_option.html'``
|
||||
|
||||
Similar to :class:`Select`, but allows multiple selection:
|
||||
``<select multiple="multiple">...</select>``
|
||||
``<select multiple>...</select>``
|
||||
|
||||
``RadioSelect``
|
||||
~~~~~~~~~~~~~~~
|
||||
|
|
|
@ -251,6 +251,10 @@ Miscellaneous
|
|||
* ``allowed_hosts`` is now a required argument of private API
|
||||
``django.utils.http.is_safe_url()``.
|
||||
|
||||
* The ``multiple`` attribute rendered by the
|
||||
:class:`~django.forms.SelectMultiple` widget now uses HTML5 boolean syntax
|
||||
rather than XHTML's ``mulitple="multiple"``.
|
||||
|
||||
.. _deprecated-features-2.1:
|
||||
|
||||
Features deprecated in 2.1
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue