1
0
mirror of https://github.com/django/django.git synced 2025-10-24 06:06:09 +00:00

Refs #29983 -- Added pathlib.Path support to the file email backend.

This commit is contained in:
Jon Dufresne
2019-11-06 00:33:07 -08:00
committed by Carlton Gibson
parent 422b875c65
commit fbbff7f808
5 changed files with 25 additions and 5 deletions

View File

@@ -1283,6 +1283,10 @@ Default: Not defined
The directory used by the :ref:`file email backend <topic-email-file-backend>`
to store output files.
.. versionchanged:: 3.1
Support for :class:`pathlib.Path` was added.
.. setting:: EMAIL_HOST
``EMAIL_HOST``

View File

@@ -119,7 +119,8 @@ CSRF
Email
~~~~~
* ...
* The :setting:`EMAIL_FILE_PATH` setting, used by the :ref:`file email backend
<topic-email-file-backend>`, now supports :class:`pathlib.Path`.
File Storage
~~~~~~~~~~~~

View File

@@ -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