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:
committed by
Tim Graham
parent
fc6b90bdb7
commit
a3b5df8ed5
@@ -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``.
|
||||
|
||||
Reference in New Issue
Block a user