From fbbff7f80870bc3e98de4a2fc9cd853949842fd0 Mon Sep 17 00:00:00 2001 From: Jon Dufresne Date: Wed, 6 Nov 2019 00:33:07 -0800 Subject: Refs #29983 -- Added pathlib.Path support to the file email backend. --- docs/ref/settings.txt | 4 ++++ docs/releases/3.1.txt | 3 ++- docs/topics/email.txt | 4 ++++ 3 files changed, 10 insertions(+), 1 deletion(-) (limited to 'docs') diff --git a/docs/ref/settings.txt b/docs/ref/settings.txt index d67d706d66..97b1584765 100644 --- a/docs/ref/settings.txt +++ b/docs/ref/settings.txt @@ -1283,6 +1283,10 @@ Default: Not defined The directory used by the :ref:`file email backend ` to store output files. +.. versionchanged:: 3.1 + + Support for :class:`pathlib.Path` was added. + .. setting:: EMAIL_HOST ``EMAIL_HOST`` diff --git a/docs/releases/3.1.txt b/docs/releases/3.1.txt index 1a965b41b5..a35ae79ea9 100644 --- a/docs/releases/3.1.txt +++ b/docs/releases/3.1.txt @@ -119,7 +119,8 @@ CSRF Email ~~~~~ -* ... +* The :setting:`EMAIL_FILE_PATH` setting, used by the :ref:`file email backend + `, now supports :class:`pathlib.Path`. File Storage ~~~~~~~~~~~~ diff --git a/docs/topics/email.txt b/docs/topics/email.txt index bc983b4f2e..37db613f82 100644 --- a/docs/topics/email.txt +++ b/docs/topics/email.txt @@ -527,6 +527,10 @@ To specify this backend, put the following in your settings:: This backend is not intended for use in production -- it is provided as a convenience that can be used during development. +.. versionchanged:: 3.1 + + Support for :class:`pathlib.Path` was added. + .. _topic-email-memory-backend: In-memory backend -- cgit v1.3