diff options
| author | Jon Dufresne <jon.dufresne@gmail.com> | 2018-01-20 08:19:06 -0800 |
|---|---|---|
| committer | Tim Graham <timograham@gmail.com> | 2018-01-20 11:19:06 -0500 |
| commit | 47d238b69602711c06c369a5555bb554a4b3f7fb (patch) | |
| tree | f1972664cbf2065277a5562f8637054f65f4e11e /docs | |
| parent | b98dc1706e9c63a4cc7d061a3d8a95f6cbf5e950 (diff) | |
Fixed #29041 -- Changed SelectMultiple's multiple attribute to HTML5 boolean syntax.
Diffstat (limited to 'docs')
| -rw-r--r-- | docs/ref/forms/widgets.txt | 2 | ||||
| -rw-r--r-- | docs/releases/2.1.txt | 4 |
2 files changed, 5 insertions, 1 deletions
diff --git a/docs/ref/forms/widgets.txt b/docs/ref/forms/widgets.txt index 12677eb908..dc6256ee06 100644 --- a/docs/ref/forms/widgets.txt +++ b/docs/ref/forms/widgets.txt @@ -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`` ~~~~~~~~~~~~~~~ diff --git a/docs/releases/2.1.txt b/docs/releases/2.1.txt index b979ba2224..2c1f199577 100644 --- a/docs/releases/2.1.txt +++ b/docs/releases/2.1.txt @@ -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 |
