1
0
mirror of https://github.com/django/django.git synced 2025-10-31 09:41:08 +00:00

Fixed #31118 -- Made FileInput to avoid the required attribute when initial data exists.

This commit is contained in:
Shubham singh
2020-01-05 13:21:33 +05:30
committed by Mariusz Felisiak
parent 53d8646f79
commit ffcf1a8ebf
5 changed files with 46 additions and 13 deletions

View File

@@ -406,6 +406,9 @@ Miscellaneous
* Date-only formats are removed from the default list for
:setting:`DATETIME_INPUT_FORMATS`.
* The :class:`~django.forms.FileInput` widget no longer renders with the
``required`` HTML attribute when initial data exists.
.. _deprecated-features-3.1:
Features deprecated in 3.1