diff options
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 |
