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:44:47 -0400
commit110bd820380e06fc8572f94b36bba6fc9d057a6b (patch)
treef76f09265ce2a5883826ad7e4c1719849c74451c /docs
parentaf9a81aa7f14ae1a9fd1f25676f526a43f0c65f3 (diff)
[1.11.x] Fixed #28242 -- Moved ImageField file extension validation to the form field.
Backport of a0c07d77fc313388c72a17cd59411265069f037f from master
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.