Fixed #22013 -- Documented difference between SERVER_EMAIL and DEFAULT_FROM_EMAIL.

This commit is contained in:
Zbigniew Siciarz 2014-02-15 19:11:46 +01:00
parent 0b6f9f7c6f
commit 44814e78cc
1 changed files with 8 additions and 1 deletions

View File

@ -955,7 +955,8 @@ DEFAULT_FROM_EMAIL
Default: ``'webmaster@localhost'``
Default email address to use for various automated correspondence from the
site manager(s).
site manager(s). This doesn't include error messages sent to :setting:`ADMINS`
and :setting:`MANAGERS`; for that, see :setting:`SERVER_EMAIL`.
.. setting:: DEFAULT_INDEX_TABLESPACE
@ -1727,6 +1728,12 @@ Default: ``'root@localhost'``
The email address that error messages come from, such as those sent to
:setting:`ADMINS` and :setting:`MANAGERS`.
.. admonition:: Why are my emails sent from a different address?
This address is used only for error messages. It is *not* the address that
regular email messages sent with :meth:`~django.core.mail.send_mail()`
come from; for that, see :setting:`DEFAULT_FROM_EMAIL`.
.. setting:: SHORT_DATE_FORMAT
SHORT_DATE_FORMAT