Fixed #29041 -- Changed SelectMultiple's multiple attribute to HTML5 boolean syntax.

This commit is contained in:
Jon Dufresne 2018-01-20 08:19:06 -08:00 committed by Tim Graham
parent b98dc1706e
commit 47d238b696
10 changed files with 42 additions and 38 deletions

View file

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

View file

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