summaryrefslogtreecommitdiff
path: root/docs
diff options
context:
space:
mode:
authorManatsawin Hanmongkolchai <manatsawin+git@gmail.com>2017-05-28 14:05:21 +0700
committerTim Graham <timograham@gmail.com>2017-06-01 10:13:23 -0400
commita0c07d77fc313388c72a17cd59411265069f037f (patch)
tree6ca6565eb41de7db58122fe41cc853667ee83a76 /docs
parent6bb3b2bff4bca24896023758a720f16fa6b1e2bb (diff)
Fixed #28242 -- Moved ImageField file extension validation to the form field.
Diffstat (limited to 'docs')
-rw-r--r--docs/releases/1.11.2.txt4
-rw-r--r--docs/releases/1.11.txt1
2 files changed, 5 insertions, 0 deletions
diff --git a/docs/releases/1.11.2.txt b/docs/releases/1.11.2.txt
index e595d796ee..ed7753a74f 100644
--- a/docs/releases/1.11.2.txt
+++ b/docs/releases/1.11.2.txt
@@ -58,3 +58,7 @@ Bugfixes
* Fixed a regression where ``file_move_safe()`` crashed when moving files to a
CIFS mount (:ticket:`28170`).
+
+* Moved the ``ImageField`` file extension validation added in Django 1.11 from
+ the model field to the form field to reallow the use case of storing images
+ without an extension (:ticket:`28242`).
diff --git a/docs/releases/1.11.txt b/docs/releases/1.11.txt
index 05c925259f..a6955d1460 100644
--- a/docs/releases/1.11.txt
+++ b/docs/releases/1.11.txt
@@ -327,6 +327,7 @@ Models
* :class:`~django.db.models.ImageField` now has a default
:data:`~django.core.validators.validate_image_file_extension` validator.
+ (This validator moved to the form field in :doc:`Django 1.11.2 <1.11.2>`.)
* Added support for time truncation to
:class:`~django.db.models.functions.datetime.Trunc` functions.