From fbc3c29e7cc5b3a3f62f1700af6ba474f05d59eb Mon Sep 17 00:00:00 2001 From: Vlastimil Zíma Date: Tue, 30 Jan 2018 10:33:13 +0100 Subject: Fixed #29036 -- Fixed HTML5 required validation on SelectDateWidget if the attribute is added by JavaScript. Thanks Tim Graham for the initial patch. --- docs/releases/2.1.txt | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'docs') diff --git a/docs/releases/2.1.txt b/docs/releases/2.1.txt index 03d80115d3..a2aa2e8379 100644 --- a/docs/releases/2.1.txt +++ b/docs/releases/2.1.txt @@ -265,6 +265,10 @@ Miscellaneous elements, e.g. ``
``. This is incompatible within XHTML, although some widgets already used aspects of HTML5 such as boolean attributes. +* The value of :class:`~django.forms.SelectDateWidget`'s empty options is + changed from 0 to an empty string, which mainly may require some adjustments + in tests that compare HTML. + .. _deprecated-features-2.1: Features deprecated in 2.1 -- cgit v1.3