1
0
mirror of https://github.com/django/django.git synced 2025-10-24 22:26:08 +00:00

[1.11.x] Fixed #28387 -- Fixed has_changed() for disabled form fields that subclass it.

Backport of 5debbdfcc8 from master
This commit is contained in:
Srinivas Reddy Thatiparthy
2017-07-13 20:25:32 +05:30
committed by Tim Graham
parent fc6b90bdb7
commit a3b5df8ed5
8 changed files with 40 additions and 0 deletions

View File

@@ -21,3 +21,7 @@ Bugfixes
* Fixed crash in ``runserver``'s ``autoreload`` with Python 2 on Windows with
non-``str`` environment variables (:ticket:`28174`).
* Corrected ``Field.has_changed()`` to return ``False`` for disabled form
fields: ``BooleanField``, ``MultipleChoiceField``, ``MultiValueField``,
``FileField``, ``ModelChoiceField``, and ``ModelMultipleChoiceField``.