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:
committed by
Carlton Gibson
parent
422b875c65
commit
fbbff7f808
@@ -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``
|
||||
|
||||
@@ -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
|
||||
~~~~~~~~~~~~
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user