From a0c07d77fc313388c72a17cd59411265069f037f Mon Sep 17 00:00:00 2001 From: Manatsawin Hanmongkolchai Date: Sun, 28 May 2017 14:05:21 +0700 Subject: Fixed #28242 -- Moved ImageField file extension validation to the form field. --- docs/releases/1.11.2.txt | 4 ++++ docs/releases/1.11.txt | 1 + 2 files changed, 5 insertions(+) (limited to 'docs') 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. -- cgit v1.3