summaryrefslogtreecommitdiff
path: root/docs/howto/error-reporting.txt
diff options
context:
space:
mode:
authorRussell Keith-Magee <russell@keith-magee.com>2009-07-11 15:37:38 +0000
committerRussell Keith-Magee <russell@keith-magee.com>2009-07-11 15:37:38 +0000
commitf36b3898ae3d46523ceb227dfc9b1db88b48c3ec (patch)
tree8b13af56b24cd597681336f0db61d9de3f58b50c /docs/howto/error-reporting.txt
parent6bf55a1abf5c9e23296bf251409e989c1afcf393 (diff)
Fixed #11453 -- Added note on customizing SERVER_EMAIL for error reporting. Thanks to seveas for the suggestion and draft text.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@11219 bcc190cf-cafb-0310-a4f2-bffc1f526a37
Diffstat (limited to 'docs/howto/error-reporting.txt')
-rw-r--r--docs/howto/error-reporting.txt10
1 files changed, 7 insertions, 3 deletions
diff --git a/docs/howto/error-reporting.txt b/docs/howto/error-reporting.txt
index e0750ce327..246e7445d0 100644
--- a/docs/howto/error-reporting.txt
+++ b/docs/howto/error-reporting.txt
@@ -23,6 +23,10 @@ administrators immediate notification of any errors. The :setting:`ADMINS` will
get a description of the error, a complete Python traceback, and details about
the HTTP request that caused the error.
+By default, Django will send email from root@localhost. However, some mail
+providers reject all email from this address. To use a different sender
+address, modify the :setting:`SERVER_EMAIL` setting.
+
To disable this behavior, just remove all entries from the :setting:`ADMINS`
setting.
@@ -33,12 +37,12 @@ Django can also be configured to email errors about broken links (404 "page
not found" errors). Django sends emails about 404 errors when:
* :setting:`DEBUG` is ``False``
-
+
* :setting:`SEND_BROKEN_LINK_EMAILS` is ``True``
-
+
* Your :setting:`MIDDLEWARE_CLASSES` setting includes ``CommonMiddleware``
(which it does by default).
-
+
If those conditions are met, Django will e-mail the users listed in the
:setting:`MANAGERS` setting whenever your code raises a 404 and the request has
a referer. (It doesn't bother to e-mail for 404s that don't have a referer --