Ticket #11680: 11680.diff
File 11680.diff, 1.2 KB (added by , 15 years ago) |
---|
-
docs/howto/error-reporting.txt
13 13 You need to keep track of errors that occur in deployed sites, so Django can be 14 14 configured to email you details of those errors. 15 15 16 Server errors17 -------------18 19 16 When :setting:`DEBUG` is ``False``, Django will e-mail the users listed in the 20 17 :setting:`ADMIN` setting whenever your code raises an unhandled exception and 21 18 results in an internal server error (HTTP status code 500). This gives the … … 30 27 To disable this behavior, just remove all entries from the :setting:`ADMINS` 31 28 setting. 32 29 30 Custom sender settings 31 ---------------------- 32 33 If you would like to specify custom SMTP server settings to send these emails, 34 the following settings are available: 35 * :setting:`EMAIL_HOST` is the SMTP server name or url. 36 * :setting:`EMAIL_PORT` is the port on which SMTP is listening. 37 * If your SMTP server requires authentication, it is necessary to specify 38 both :setting:`EMAIL_HOST_USER` and :setting:`EMAIL_HOST_PASSWORD` as 39 well. 40 33 41 404 errors 34 42 ---------- 35 43