summaryrefslogtreecommitdiff
path: root/docs/ref
diff options
context:
space:
mode:
authorFrédéric Massart <fmcell@gmail.com>2017-11-21 18:21:31 +0800
committerTim Graham <timograham@gmail.com>2017-11-21 12:05:49 -0500
commit427a8b4485b689dbd71be9bb994b787f859112d1 (patch)
tree77ae1f6df4e92b3b558c2817734edcbb754422c7 /docs/ref
parent286120444f0fc5aa901dfc36a3f864e94beb2ffb (diff)
[2.0.x] Clarified who the AdminEmailHandler emails.
Backport of a5f1e5809f26d93ea0c6010bb44895b3d1992089 from master
Diffstat (limited to 'docs/ref')
-rw-r--r--docs/ref/settings.txt11
1 files changed, 5 insertions, 6 deletions
diff --git a/docs/ref/settings.txt b/docs/ref/settings.txt
index 4ac811797e..a357134b27 100644
--- a/docs/ref/settings.txt
+++ b/docs/ref/settings.txt
@@ -48,14 +48,13 @@ of the case of the actual model class name.
Default: ``[]`` (Empty list)
A list of all the people who get code error notifications. When
-``DEBUG=False`` and a view raises an exception, Django will email these people
-with the full exception information. Each item in the list should be a tuple
-of (Full name, email address). Example::
+:setting:`DEBUG=False <DEBUG>` and :class:`~django.utils.log.AdminEmailHandler`
+is configured in :setting:`LOGGING` (done by default), Django emails these
+people the details of exceptions raised in the request/response cycle.
- [('John', 'john@example.com'), ('Mary', 'mary@example.com')]
+Each item in the list should be a tuple of (Full name, email address). Example::
-Note that Django will email *all* of these people whenever an error happens.
-See :doc:`/howto/error-reporting` for more information.
+ [('John', 'john@example.com'), ('Mary', 'mary@example.com')]
.. setting:: ALLOWED_HOSTS